GithubHelp home page GithubHelp logo

lazd / coronaglobe Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 6.0 61.55 MB

Heatmap representation of COVID-19 on WebGl 3D world map

Home Page: http://blog.lazd.net/coronaglobe/

License: BSD 2-Clause "Simplified" License

HTML 7.06% JavaScript 82.30% CSS 10.64%

coronaglobe's People

Contributors

lazd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coronaglobe's Issues

Use or support using active cases, not just cases

It seems like the whole point of this visualization is to see how many people are sick - what areas are currently having to respond to the most active cases. Since "cases" is cumulative, it's more useful as a static representation once this whole thing is over. "Active" is more useful right now since recovered people are removed from the count.

An example difference right now is that in the March 23 data, South Korea has surpassed Wuhan in terms of active cases, but Wuhan still has 6x more "cases". South Korea should be getting more attention on the map.

Better equation for blob size and intensity

Right now, blob size and intensity is determined with a bit of a silly equation. It's logarithmic so things don't get too big or don't appear at all when too small, but it results in a disproportionately sized blob if there are too many points near each other (i.e. in Japan, where there are 3 points nearby):

image

It could look a lot better if the equation was adjusted.

Add location search

It should be possible to search among the existing locations with an autocomplete.

Nice to have: Geocode the entered location if it doesn't appear in the autocomplete

Interpolate cases between days when playing

Right now, a new heatmap is generated each time the day switches. Instead, the cases should be interpolated between days.

Instead of clearing the heatmap on each frame between days, it would be ideal to add points to the map and update it, though I don't know how to handle removing points from the map in that case.

It could also be possible to fade between days.

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.