Skip to content

Plots number of confirmed covid-19 cases for countries worldwide

License

Notifications You must be signed in to change notification settings

karvla/covid19count

Folders and files

NameName
Last commit message
Last commit date
Mar 24, 2020
Mar 23, 2020
Mar 23, 2020
Mar 8, 2020
Mar 20, 2020
Mar 23, 2020
Mar 28, 2020
Mar 9, 2020
Mar 23, 2020
Mar 24, 2020
Mar 23, 2020

Repository files navigation

covid19count

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

example

Usage

Install dependencies with poetry install (if you have poetry installed) or pip install --user .

Run with python3 covid19count.py country1 country2 ....

To plot with a logarithmic y-axis, add the argument --log.

Docker container

Build the image using the context of the root directory:

docker build -t covid19-confirmed-cases:1.0 -f docker/Dockerfile .

Run the application, make it available on port 8080 (the container exposes port 8080, the syntax is '-p hostPort:containerPort'):

docker run --rm -d -p 8080:8080 covid19-confirmed-cases:1.0

Open a browser and checkout localhost at 8080.

example