This is a modified copy of the repository https://github.com/karvla/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.
San Marino is not shown (Assumed to be cared for by Italy) Cases on Diamond Princess are not shown (Singular event)
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"