Given the current challenges of using Graph-based maps (T248707, etc), let's build some simple SVG maps that can be updated on a daily basis and embedded within our COVID-19 articles. To do this we will need to have a bot that downloads the data and updates SVG maps on Commons on a daily basis. Here are some resources that can be used:
World blank SVG map: https://commons.wikimedia.org/wiki/File:BlankMap-World.svg
World data: https://github.com/CSSEGISandData/COVID-19
U.S. blank SVG map: https://commons.wikimedia.org/wiki/File:Blank_USA,_w_territories.svg
U.S. data: https://covidtracking.com/api/ or https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_daily_reports_us
Africa blank SVG map: https://commons.wikimedia.org/wiki/File:BlankMap-Africa.svg
To color-code the maps, you only need to add CSS code in the preambles, e.g.:
.ca, .ge, .gu, .mp, .uy, .za {fill:#0d00f2;}
We should re-upload new versions each day rather than creating new files for each day. That will allow the communities to just embed the maps in their articles and then leave them alone.
This could effectively replace all the maps that are currently being updated manually, such as:
- https://commons.wikimedia.org/wiki/File:Total-confirmed-cases-of-covid-19-per-million-people.png
- https://commons.wikimedia.org/wiki/File:Total-covid-deaths-per-million.png
- https://commons.wikimedia.org/wiki/File:COVID-19_Outbreak_World_Map_per_Capita.svg
- https://commons.wikimedia.org/wiki/File:COVID-19_Outbreak_World_Map.svg
- https://commons.wikimedia.org/wiki/File:COVID-19_Outbreak_World_Map_Total_Deaths_per_Capita.svg
- https://commons.wikimedia.org/wiki/File:COVID-19_outbreak_USA_per_capita_cases_map.svg
- https://commons.wikimedia.org/wiki/File:COVID-19_Outbreak_Cases_in_the_United_States_(Density).svg
- https://commons.wikimedia.org/wiki/File:COVID-19_Pandemic_Deaths_in_the_United_States_(Density).svg
- etc.