By: Dan Ovadia
Date: September 4, 2020
Deployed US Covid-19 Dashboard (might take time around a minute the first time you connect, Heroku needs to wake up the dyno; upon refresh it should spring to life.)
This repository holds the code for the components to create a dashboard visualizing Coronavirus spread. It is built using Plotly to generate interactive visualizations and Dash to generate the HTML for the website, respectively. The website is hosted on Heroku.
The data are coming from multiple sources, specifically The New York Times covid-19 github repo, The Atlantic's Covid Tracking Project API, and census.gov. The data are pulled, transformed, and uploaded to Google Cloud Storage using a Cloud Function. The code for the function is stored in the cloud-function
directory.
- Modules
Explanation of defined functions created to handle the website - Data Processing
Retrieving and processing data - Plotting
Generating scatter plots and choropleth plots - Notebooks
Description of how the topics each notebook covers. - Heroku App
Description of the components of the Heroku App - GCP Cloud Function
Description of the components of the Cloud Function - Conclusion
To visualize current and historical trends of the coronavirus' spread in the United States at a county and state level. To provide updated statistics on new cases, deaths, and hospitalizations (only at a state level).
The modules were split into two categories: (1) Data Processing, and (2) Plotting. Data processing handles any functions required to build out the dataframes needed for plotting. This includes but is not limited to: making HTTP requests to pull and clean data.