Skip to content

An animated plot of Portugal's daily new cases of COVID-19

Notifications You must be signed in to change notification settings

manuellamas/Portugal-COVID19-Plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project's aim was to create an animated plot of Portugal COVID-19 new daily cases.

It does so by first obtaining the most recent data available at Our World in Data.

This was my first attempt at making an animated plot and was heavily inspired by this animation.

Animated Plot

Below is the result (with data of 12/03/2022):

Portugal_daily_new_cases.mp4

Usage

To create the animation simply run py Code\Portugal_covid19_cases_plot.py.

Requirements

The only requirement is the Matplotlib library (the version used was the 3.5.1).

To install the exact dependencies through the requirements.txt in a virtual environment, simply run the lines below (the file to activate the environment is different for those not on Windows running through Command Prompt, see more on Python Virtual Environments):

python -m venv .venv
.venv\Scripts\activate.bat
python -m pip install -r requirements.txt

About

An animated plot of Portugal's daily new cases of COVID-19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages