Skip to content

Pull data from European Centre for Disease Prevention and Control to make plots about the COVID-19 epidemic

License

Notifications You must be signed in to change notification settings

RainerWinkler/COVID-19-plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a modified copy of the repository https://github.com/karvla/covid19count

covid19count

Plots number of confirmed COVID-19 cases for countries worldwide. The data is pulled from European Centre for Disease Prevention and Control.

You may delete the cache for images in the browser when the plots are not actual.

Top 10 cases and death

example example

San Marino is not shown (Assumed to be cared for by Italy) Cases on Diamond Princess are not shown (Singular event)

Top 11-20 cases and death

example example

Top 21-30 cases and death

example example

Top 31-40 cases and death

example example

Top 41-50 cases and death

example example

Top 51-60 cases and death

example example

Top 61-70 cases and death

example example

Top 71-80 cases and death

example example

Top 81-90 cases and death

example example

Top 91-100 cases and death

example example

Some countries in Asia

example example

Some countries in Europe

example example

Further examples

example example

example example

example example

Usage

Calculate all plots with python make_plots.py

To make individual plots about cases use with the international country codes python covid19plot.py FR DE AT To plot with logarithmic y axis add -log: python covid19plot.py -log FR DE AT Country names are in lowercase and have to be like in the read Excel file. To plot deaths add -deaths for instance python covid19plot.py -deaths FR ES

To use symbols user -format and provide a list of format options: python covid19plot.py -log AT DE FR -format "ro gs bd" -deaths Use the format options from Matlab (As they are used by Matplotlib.

To save to file add -out filename for instance python covid19plot.py FR DE AT -out middle_europe_count To save to file without displaying a plot add -dark for instance python covid19plot.py FR DE AT -out middle_europe_count -dark

To display per 100,000 inhabitants add -perCapita

To display tops add -top from to. Countries are ignored. San Marino and Diamond Princes have very many values and are suppressed. Example: python covid19plot.py -top 1 10

To set the minimal and maximal values for the y axis use -yFrom -yTo : for instance: "-yFrom 1e-2 -yTo 1e3"

To read from a local Excel file use parameter -dataFile , for instance "python covid19plot.py -dataFile region_covid_count.xls FR DE AT"

About

Pull data from European Centre for Disease Prevention and Control to make plots about the COVID-19 epidemic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages