GithubHelp home page GithubHelp logo

Comments (10)

davidbau avatar davidbau commented on June 15, 2024

@davidebbo if this is interesting to you, I think it would be cool to see on a per-state basis.

https://gionkunz.github.io/chartist-js/getting-started.html#switching-axis-type

from covid-19-chart.

davidebbo avatar davidebbo commented on June 15, 2024

Ok, I will look at this next weekend. Why do you think it should go on a different page? Isn't it essentially about plotting the same data in yet a different way?

from covid-19-chart.

davidbau avatar davidbau commented on June 15, 2024

from covid-19-chart.

davidebbo avatar davidebbo commented on June 15, 2024

Hoping to look at this as a weekend project. But looking at chartist, I'm not sure how easily it will support this because:

  • It only appears to support log scale on the y axis and not x axis
  • It doesn't seem to support graphing arbitrary points. i.e. here I think we basically have a sequence of arbitrary (x,y) points, instead of the chartist model of passing an array of 'y' value, where 'x' is assumed to be the array index

Or am I looking at this the wrong way? Obviously, there is the option of moving to a different graphing solution, but that's kind of a big move!

from covid-19-chart.

davidbau avatar davidbau commented on June 15, 2024

from covid-19-chart.

davidebbo avatar davidebbo commented on June 15, 2024

That sample looks very promising, thanks!

from covid-19-chart.

davidbau avatar davidbau commented on June 15, 2024

Whoa that is so cool!!!!! I have been playing with your PR and it is pretty awesome to be able to put smaller nearby localities on the same plot as South Korea or China or Italy.

image

It very clearly tells a policy story. While it's good to be like S Korea, do not be like Japan.

http://localhost:8000/#/?include=Italy%3BS%20Korea%3BJapan%3BSpain%3BChina&ratio=3%2F5&stat=growth&advanced=1

from covid-19-chart.

davidebbo avatar davidebbo commented on June 15, 2024

Glad it's working well! Have you played with https://aatishb.com/covidtrends/ as well? It's nice that is has the animation over time. OTOH, we have far more flexibility in terms of localities and other tweaks. And nice colors :)

from covid-19-chart.

davidbau avatar davidbau commented on June 15, 2024

from covid-19-chart.

davidbau avatar davidbau commented on June 15, 2024

Merged and pushed. Thanks again @davidebbo!!!

from covid-19-chart.

Related Issues (20)

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.