Animate incidence rates on geographic projections and cummulative case counts over time with tweening.
The script broadly has three parts,
- Compute incidence rates and case counts.
- Read shapefile of country/region and create polygons
- Animate incidence rates and case counts with tweening
- Python dependencies
pip install -r requirements.txt
Add the path to ffmpeg on line 23 of invio.py
Video output: yearly_incidence_rate_usa.mp4
- Generalize invio.py to accept shapefile, incidence rates and case counts