The intent of this project is to share simple python scripts to visualize COVID-19 data shared through COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University.The upstream data respository is updated by CSSE of Johns Hopkins University using public data sources on daily basis. This repository only contains the scripts to generate visualizations and not the data itself.
There are two main python scripts.
- covid19_data.py
- covid19_plots.py
In order to generate the plots following steps should be followed after installing pre-requisites.
- Clone this repository
git clone https://github.com/umairacheema/covid-19.git
- Clone John Hopkins University Data Repositorty
git clone https://github.com/CSSEGISandData/COVID-19.git
- Copy timeseries data folder from John Hopkins repository
cd covid-19
cp -R ../COVID-19/csse_covid_19_data .
- Run data preprocessing script
python covid19_data.py
- Run visualization generation script
python covid19_plot.py
The plots will be generated under docs/interactive-plots directory.
Live Demo is available at COVID-19.
- Anaconda
- Plotly
- pycountry-convert
The scripts are licensed under GNU General Public License v3.0