Covid-19 (Novel Coronavirus) Global Charts
This project uses data from to product charts of deaths, confirmed cases and recovered cases from countries globally, based on data provided by John Hopkins University. The source data is available here on github and is updated hourly from that source.
View the data
You can see the data at https://coronavirus.projectpage.app
You can also access a json feed for any of the series at urls like this: https://coronavirus.projectpage.app/global.json
Data is held in memory on the server so response times should be fast even under load. This project and all code and data transformations are public domain and free in every sense, corrections and contributions are welcome.
Growth Comparison Chart
At the bottom of the first page is a chart comparing global rates of death, inspired by work by John Burn-Murdoch at the Financial Times.
Notes on Data
There are some inconsistencies in the source data, which where possible have been corrected. All changes made to the data are outlined below.
The main datasource changed significantly on 24th March, just after launching this page, and unfortunately no longer provides a breakdown of US states in the time series data, only the daily data. I'm investigating ways to address that, but for now there is only one entry for the US.
- Investigating maintaining separate data files so that US states can be restored, and data can be updated by multiple people easily
- Removed US overall data - a sum of all other series with country US
- Data source no longer provides recovered cases, so it was removed
- Data source no longer provides US states, so it has been removed - investigating other options
- UK does not have a full area breakdown at present
- Added Global time series which is a sum of all other series
- Added China overall data - a sum of all other series with country China
- Added Austrilia overall data - a sum of all other series with country Austrilia
- Added Canada overall data - a sum of all other series with country Canada
There are no external requirements except a working go install to build, data is read from CSV files and stored in memory. The server can be compiled and run locally with:
COVID=dev go run main.go
Today's data is updated hourly from the data source, historical time series data is updated once a day (for corrections).
This code and any modified data is released as open source in the public domain, use it as you see fit.
The author hereby disclaims any and all representations and warranties with respect to the code and website, including accuracy, fitness for use, and merchantability. Reliance on the website for medical guidance or use of the website in commerce is strictly prohibited.