Coder Social home page Coder Social logo

Comments (4)

HuidaeCho avatar HuidaeCho commented on June 8, 2024

Javier,

It is possible. However, my app is a global map and not specific to any country, so I'm not planning to implement features for a single country with multiple provinces at least in this repository. It's already slow and consumes a lot of memory. You can tweak my code to always plot Chile with other top countries.

Thanks,
Huidae

from covid-19.

HuidaeCho avatar HuidaeCho commented on June 8, 2024

Maybe, it's better to copy index.html to country.html and implement this feature there so we can keep the code base cleanly separated. That's an idea if I implement it later. For now, it's a lower priority.

from covid-19.

javierconcha avatar javierconcha commented on June 8, 2024

Sounds good! Thanks.

from covid-19.

javierconcha avatar javierconcha commented on June 8, 2024

I like the chile.html version, especially the new tabs. Thanks!
Two more things:

  1. A particular issue for Chile is that the authorities do not give the recovered by provinces, only for the whole country. Therefore, I will adapt the only showing CFR for the whole country.

  2. Some users have asked to have a tab for the comparison between Chile and for instance the USA, Italy, Spain, China. This would require to fetch the data once per day from these countries and keep them local, which is doable (e.g. from your repository), and plot them in an extra tab. However, I am not sure if it makes sense for my particular case since my idea is to show only Chile. I just put it here as a thought.

Thanks again!

from covid-19.

Related Issues (8)

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.