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.
Below is the result (with data of 12/03/2022):
Portugal_daily_new_cases.mp4
To create the animation simply run py Code\Portugal_covid19_cases_plot.py
.
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