Giter VIP home page Giter VIP logo

covid-19-plot's Introduction

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"

covid-19-plot's People

Contributors

rainerwinkler avatar karvla avatar

Stargazers

 avatar

Watchers

 avatar  avatar

covid-19-plot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.