Coder Social home page Coder Social logo

Wish: detect trend about covidgraphs HOT 2 OPEN

migueldeicaza avatar migueldeicaza commented on July 23, 2024
Wish: detect trend

from covidgraphs.

Comments (2)

roostr avatar roostr commented on July 23, 2024

I think a good first-pass would be:

  • Perform all calculations on 7-day SMA data
  • Display growth over last 7 days by comparing today's 7-day SMA to 7-days-ago's 7-day SMA
    • Example: "Rate of new cases increased by 15% in last 7 days"

Possibilities for expansion that would be useful to me, at least:

  • Configurable: compare over last 14 days, last 21 days, last 28 days
  • Rank this rate in terms of all other historical weeks: "This week's rate increase was in the 15th percentile of highest historical weekly increases"
  • Draw the rate line as an overlay on the chart

from covidgraphs.

roostr avatar roostr commented on July 23, 2024

Played with this a bit tonight, found my proposed experiment to be fairly unintuitive. “9% rate increase” doesn’t really register as meaningful information to me.

Going to experiment with translating it into the number of weeks until new cases double: “Doubling every 8 weeks.” and if it’s decreasing, “Halving every 8 weeks.” I sense that’s what would be meaningful to me in a widget.

from covidgraphs.

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.