Giter Site home page Giter Site logo

Log-scale about covid19-dashboard HOT 8 OPEN

tibaldo avatar tibaldo commented on July 29, 2024 5
Log-scale

from covid19-dashboard.

Comments (8)

ImaCrea avatar ImaCrea commented on July 29, 2024

+1

from covid19-dashboard.

gillesboisson avatar gillesboisson commented on July 29, 2024

Si personne est sur cette issue je veux bien m'en charger comme première contrib, @tmerlier @jdesboeufs

from covid19-dashboard.

ThibautGrx avatar ThibautGrx commented on July 29, 2024

Salut @gillesboisson, j'ai commencé à travailler dessus ce matin.
Mais je suis pas expert React, donc je serai content d'avoir ton avis.
Voila à quoi ca ressemble pour l'instant :
Capture d’écran du 2020-03-21

from covid19-dashboard.

gillesboisson avatar gillesboisson commented on July 29, 2024

Tu peut peut être ajuster les valeur sur la grille de gauche
voici un exemple. Si tu veux je peux regarder sur ta branche demain.

exemple de tick

yAxes: [{
    type: 'logarithmic',
    ticks: {
         min: 0,
         max: 1000000,
         callback: function (value, index, values) {
             if (value === 1000000) return "1M";
             if (value === 100000) return "100K";
             if (value === 10000) return "10K;
             if (value === 1000) return "1K";
             if (value === 100) return "100";
             if (value === 10) return "10";
             if (value === 0) return "0";
             return null;
         }
    }
}]

from covid19-dashboard.

gillesboisson avatar gillesboisson commented on July 29, 2024

@ThibautGrx tu as eu l'occase de bosser dessus, tu as une branche ?

from covid19-dashboard.

ThibautGrx avatar ThibautGrx commented on July 29, 2024

Oui je pense que ça peut être plus propre avec la fonction callback que tu proposes. J'essaierai de regarder ce soir.
Sinon tu peux récupérer ma branche. J'ai fait une PR:
#43

from covid19-dashboard.

ckiw avatar ckiw commented on July 29, 2024

Coucou, je trouve qu'il est plus approprié d'utiliser des courbes pour les totaux et un histogramme pour les nouveaux cas. Parce que visuellement on additionne les barres dans un histogramme du coup c'est un peu trompeur.
Voir un exemple ici : https://www.worldometers.info/coronavirus/country/france/

J'espère que ça peux vous aider à améliorer votre outil qui est top pour suivre l'évolution 👍

from covid19-dashboard.

mckmonster avatar mckmonster commented on July 29, 2024

@ckiw merci pour l'info du site

from covid19-dashboard.

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.