Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Data update of a dash python app deployed on heroku

Hi there,
I’m trying to create a dashboard that depends on a csv sheet hosted in GitHub-raw to show the info (using some dropdowns). I have deployed it using Heroku and everything works but I need that once the “database” (GitHub CSV) is updated, the graphs use the new database. (I keep the same name of the db on GitHub).

Thanks a lot!

You can serve a fresh app.layout on every page load by setting it to a function. See https://plot.ly/dash/live-updates for an example.