AndreaDesan / Italy-Covid19-Dashboard

Dashboard to visualise the data made available by the Italian government on the Covid-19 outbreak in real time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Italy-Covid19-Dashboard

Dashboard to visualise the data made available by the Italian Italian Civil Protection Department on the Covid-19 outbreak in real time. The dashboard was deployed and could be visualized here, but it has been taken off-line after Heroku withdrew its free app deployment services (November 2022).

Dashboard screenshot

Disclaimer

The dashboard worked fine when I have tested it and provides a good deal of interactivity when exploring the data. In fairness, I find it more useful than the official one from the Italian Civil Protection Department. However I cannot guarantee that the code (and thus the dashboard) is 100% error-free.

I find the name of the variables self-explanatory; however, the definition of each variable, in both Italian and English, can be found here.

Case fatality rates (per total cases and per closed cases) are calculated according to this Lancet publication.

I strove to follow useful guidelines and recommendations from different sources (mainly Ten Considerations Before You Create Another Chart About COVID-19 and Is that COVID-19 data dashboard doing good? Or is it actually worse than nothing?) for developing a dashboard about such a sensitive topic in a proper and conscientious way.

However, I am a scientist and and engineer and I mostly use Python (... and coding in general!) to do calculations and some data viz! Hence, my knowledge of CSS is almost non-existent - and you can definitely tell that from my code! . So there is room for improvement (to put it mildly) in terms of the appearance of the dashboard and any improvements/suggestions with respect to this or any other aspect are more than welcome.

I am using Open Street Map for the plots requiring a map. If you have a Mapbox token you can use it to replace Open Street Map by:

  1. Insert your Mapbox token in the commented line token = 'insert_mapbox_token_here' and uncomment the line
  2. Comment the line mapbox_style="open-street-map" in the two functions that are generating the map plots
  3. Uncomment the line accesstoken=token in the two functions that are generating the map plots

Resources

About

Dashboard to visualise the data made available by the Italian government on the Covid-19 outbreak in real time

License:GNU General Public License v3.0


Languages

Language:Python 100.0%