项目作者: daweifeng

项目描述 :
A full-stack project - Visualize COVID-19 confirmed cases on a virtual globe.
高级语言: JavaScript
项目地址: git://github.com/daweifeng/covid-globe.git
创建时间: 2020-07-07T06:00:27Z
项目社区:https://github.com/daweifeng/covid-globe

开源协议:

下载


COVID Globe

Visualize COVID-19 cases on a virtual globe

Demo: covid-globe.dawei.io



Multifingers support

This app natively supports multifinger gestures.
You can pinch your screen to zoom in and out.

Data

The time series Data is auto collected every day at 00:01(UTC) from

COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

Collected data is parsed and stored on my own MongoDB cluster.

Note: On March 10, 2023, the Johns Hopkins Coronavirus Resource Center ceased its collecting and reporting of global COVID-19 data. Covid-globe will only display data by March 10, 2023

API

Collected data can be accessed through the covid-globe backend api

Endpoint: https://covid-server.dawei.io/cases/confirmed

Request

  1. GET https://covid-server.dawei.io/cases/confirmed?ts={timestamp}
  2. timestamp: the UTC timestamp of the date

Response

  1. {
  2. "usResponse":[
  3. {
  4. "_id": "5f123b812c72e9002e2db473",
  5. "Province_State": "American Samoa",
  6. "Country_Region": "US",
  7. "Lat": "-14.271",
  8. "Long_": "-170.132",
  9. // Specific date from request
  10. "7/16/20": "0"
  11. },
  12. ...
  13. ],
  14. "globalResponse": [
  15. {
  16. "_id": "5f123b872c72e9002e2dc131",
  17. "Province/State": "",
  18. "Country/Region": "Afghanistan",
  19. "Lat": "33.93911",
  20. "Long": "67.709953",
  21. // Specific date from request
  22. "7/16/20": "35070"
  23. },
  24. ...
  25. ]
  26. }

Todos

  • Use Redis for data caching
  • Add ‘Recovered Cases’ route