/covid19-plots

🦇 Study the development of Covid19 (of Coronavirus) pandemic

Primary LanguagePython

Plot Covid-19 data

Based on daily report data (https://github.com/CSSEGISandData/COVID-19).

Origin

The project was originated as one of the 52-coding-challenges. I decided to spin it off here.

Prerequisites

First of all, create a new virtual environment and install python packages by:

$ virtualenv covidenv
$ source covidenv/bin/activate
$ pip3 install -r requirements.txt

Clone the Covid-19 daily case data repo somewhere

$ git clone https://github.com/CSSEGISandData/COVID-19.git

Generate reports

Make sure you have the virtual env activated, then do following:

$ python3 -m covid19.plot {PATH_TO_COVID19_GIT_REPOPATH}

For example:

$ python3 -m covid19.plot $HOME/3rd/COVID-19/

The program will show several plots

Sample plots

Sample plot Sample plot Sample plot Sample plot Sample plot Sample plot Sample plot Sample plot Sample plot Sample plot

Licence

MIT