Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuan-alex/coronaglobe
corona(virus)globe
https://github.com/yuan-alex/coronaglobe
covid covid-19 covid-map covid19-data covid19-graph covid19-map covid19-tracker
Last synced: 12 days ago
JSON representation
corona(virus)globe
- Host: GitHub
- URL: https://github.com/yuan-alex/coronaglobe
- Owner: yuan-alex
- License: mit
- Created: 2020-08-15T19:08:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-15T21:53:18.000Z (over 3 years ago)
- Last Synced: 2024-11-05T09:21:52.196Z (about 2 months ago)
- Topics: covid, covid-19, covid-map, covid19-data, covid19-graph, covid19-map, covid19-tracker
- Language: JavaScript
- Homepage: https://coronaglobe.alexyuan.me
- Size: 1.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visualizing COVID-19 Around the Globe 🌐
## [👉 DEMO](https://coronaglobe.alexyuan.me)
### I wanted a look at COVID-19 data in a cool way so I built this "coronaglobe".
I actually built this around February/March of 2020 but I kinda forgot about it. Im deciding to release it now.
This globe uses data from the [Johns Hopkins University Center for Systems Science and Engineering](https://systems.jhu.edu/) and you can find their GitHub repository at [https://github.com/CSSEGISandData/COVID-19](https://github.com/CSSEGISandData/COVID-19).
### How to use this thing
The process of generating data for the map is done in the `data-processor` folder. There is a `time_series_covid19_confirmed_global.csv` file which you need to replace with the most current version of the data [https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv](https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv). I will try to update this repository as often as possible but I'm pretty busy.
After that, run `python3 generate_data.py` in the `data-processor` directory. It will run a script which transforms the John Hopkins data into the form which Google Javascript WebGL Globe Toolkit will be able to interpret.
Now go to your browser and open the `index.html` file. It should work and give you something that looks like this:
![Demo](demo.png)
### Why is the code so bad?
I wrote it in a rush so I could put it on my University of Waterloo application. Feel free to build on it or send a pull request.
Thanks to John Hopkins for making all of data publicly accessible.