GithubHelp home page GithubHelp logo

ncov19-datapoints / ncov19-datapoints.github.io Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 62.99 MB

Corona Virus Data Points - gather data and facts and make them visible.

License: MIT License

Python 93.81% HTML 6.19%
covid-19 covid19 covid-virus covid-data covid covid-2019 covid19-data covid-19-italy covid-19-germany covid-19-france covid-19-uk

ncov19-datapoints.github.io's Introduction

nCov19-DataPoints

Corona Virus Data Points - gather data and facts and make them visible.

Purpose

I found that most maps visualizing the Corona Virus data while very interesting did not help me judging the situation in local places - the resolution was too rough, and the numbers were in no relation to the population in the affected area.

So I set this map up with this repository.

Feedback and help

If you think something is wrong or missing from the map, please add it to the github issue tracker. There is still plenty of stuff to do.

If you would like your country or region to be added, you can help by finding the required sources of data - preferably csv files by an official source, but other people gathering and cleaning up data with clear source attribution are also welcome. Or, if you feel like it, take the existing Python scripts for countries as an example and create your own one and send me a pull request. All help is welcome!

I will add more detailed help soon, until then, just ask.

Repository structure

The structure of the repository is currently very simple:

  • index.html: the starting page if you go to http://ncov19-datapoints.github.io/, displaying the map with all the geojson files generating by the Python scripts for each country.
  • For each country representing a separate data set with separate data sources there is a folder containing the following files (as an example the links go to the UK files):
    • build.py: the script run each day at 20:00 UTC to update the ncov19map.js file.
      • There is a helper functions "generateOutput" in buildhelpers.py. Use that to save your files to make sure the map can use them even if there are any style changes etc. I will add a few checks in there later to make sure the data can be used by the map.
    • ncov19map.js: the file used by the map in "/Cov19.html"
    • ncov19.geojson contains the same data as the ncov19map.js file, just without the minor JavaScript additions which make the data digestible to the Cov19.html file.
    • ncov19.csv contains the raw nCov19 data, this is useful for debugging. Or maybe somebody else wants to do something with that data.

Thanks

Many thanks must go to the people gathering all the information which makes projects like this possible:

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.