Black Lives Matter. Please consider donating to Black Girls Code today.

Refresh the webpage automatically

I am creating the dashboard using the dash library. Dash uses some csv files and visualizations are displayed on web page.
This works fine. But csv files are dynamic and added as the time comes. What I want is my script refreshes the code after every particular period of time and then refreshes the web page.

Take a look at dash_core_components.Interval. It is not documented in Dash User Guide (https://dash.plot.ly/live-updates) but you sure will also be able to find examples here on forum.

2 Likes