Giter Club home page Giter Club logo

covid-19charts.com's People

Contributors

agatapst avatar dependabot[bot] avatar wokalski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

covid-19charts.com's Issues

Color country changes when removing country

Start state:
image

When deleting Spain, Belgium's color changes:
image

Would it be better if the color of Belgium stayed the same?
For a minute I thought Belgium disappeared, couldn't find it on the graph anymore.

Show exact date on hover

Really great work with this @wokalski - couldn't agree more with this type of chart being critical to help people understand their own situation in context to others! ๐Ÿ‘

One idea I had was to show the exact day for a given set of y values, on hover:

You see here:
image

I see it is only on narrow width views too, although it is really apparent on mobile.

You can't see exactly what the day is, have to assume it is 11, be great if it always showed the day number that you are hovering on (either in the axis or in the onhover box).

Reason being, it is easier to calculate, future growth predictions, doubling time, etc. I see you have other TODOs here on that too. ๐Ÿ‘

Again, thanks for this, and great work! Hope this is helpful.

Add new cases chart

I guess this is one chart type, but a new-cases is also interesting.
Both number, and percentage of the existing (as it's a % of the existing cases) - as seeon on Wikipedia for example :D - https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_Italy#Timeline

And even (what I had an idea for) - new cases as a percentage, but not of every case, but of the recent new cases. Because if a country accumulated thousands of positive cases in the hospitals or homes, they don't spread the virus (or shouldn't). What's more interesting is how fast does it sprepread based on how fast did it spread recently. Because today's new cases would be based on yesterday's new cases' connections :) This would give us a good (better IMO) for how easy it is to spread divided by how cautious/socially distant people are.
IMO we'd see quite a difference between places like Italy and Japan or China.

Use contrasting colors

Hey,

Nice idea with charts. Potentially useful for comparing situation between countries. ๐Ÿ‘ Sadly I can't say which country is which on the chart. Their colors all look the same to me. I'm color blind but this shouldn't be so bad. I suggest using a color palette designed for data visualization instead of picking colors randomly. One of the popular ones is ColorBrewer. I think the "paired" scale would work well. I'm not sure how to install it in JS these days (or whatever .re is ๐Ÿ™ƒ) but I've used the version from d3js.org in the past.

๐ŸŒˆ๐Ÿ“ˆ

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.