https://github.com/ziofil/covid
Altair interactive visualizations of current COVID trends
https://github.com/ziofil/covid
Last synced: over 1 year ago
JSON representation
Altair interactive visualizations of current COVID trends
- Host: GitHub
- URL: https://github.com/ziofil/covid
- Owner: ziofil
- License: gpl-3.0
- Created: 2020-09-18T10:59:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T13:45:20.000Z (almost 6 years ago)
- Last Synced: 2025-01-29T18:13:44.613Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 509 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Covid
Altair interactive visualizations of current COVID trends. The script pulls data from [JHU](https://github.com/CSSEGISandData/COVID-19) and generates new and total (absolute and relative to population) cases and deaths visualizations for the desired countries. It then opens the interactive charts in four new browser tabs.
You can (shift-)click on the legend items to selectively visualize and compare the trends.
# Usage
1. Edit `covid.py` with the desired countries
2. Execute `python covid.py --browser path/to/browser/executable` from the shell (if browser arg is unused, the graphs are still saved as html files)
# Example:

# TODO
Currently some countries may not work due to a name mismatch between the JHU and the worldbank datasets. I need to find which ones are off and fix them manually.