Giter Club home page Giter Club logo

coronavirus's Introduction

Covid-19 (Novel Coronavirus) Global Charts

Website: https://coronavirus.projectpage.app

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.

Covid-19

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.

Covid-19

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.

2020-03-27

  • Investigating maintaining separate data files so that US states can be restored, and data can be updated by multiple people easily

2020-03-24

  • 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

2020-03-22

  • 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

Installation

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).

License

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.

coronavirus's People

Contributors

kennygrant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.