How to create slideshow in React

I am having an HTML page, which has multiple charts displayed in the DIV tag. Currently all these charts are loaded on the page one after the another as in the conventional methodology. Instead I need to load these charts one after another at a gap of say 5 secs, something similar to automated slide show. Is there any way to do this in simple steps.

Consider my HTML code snippet as

<div className="chart">
<="" span=""> />
<="" span=""> />
<="" span=""> /> <div>