GithubHelp home page GithubHelp logo

yahoo / covid-19-dashboard Goto Github PK

View Code? Open in Web Editor NEW
41.0 18.0 18.0 1.99 MB

Source code for the Yahoo Knowledge Graph COVID-19 Dashboard

License: Other

JavaScript 93.51% HTML 4.08% CSS 2.37% Shell 0.04%
covid-19 covid-19-dashboard coronavirus covid

covid-19-dashboard's Introduction

Yahoo Knowledge Graph COVID-19 Dashboard Pipeline Status

Dashboard Preview

Background

This repository contains source code for the Yahoo Knowledge Graph COVID-19 Dashboard. The visualization is powered by Elide and themed with Denali Design.

Related project links:

Install locally

  1. Clone the repo git clone https://github.com/yahoo/covid-19-dashboard.git

  2. Install dependencies npm i

  3. Configure the environment

    Note that by default, the app will run with mock data (via mirage) enabled.

    To use real data in local development you must supply the url of a COVID_API host The following environment variables are available

    ENV default run local
    COVID_API https://covid19.knowledge.yahoo.com http://localhost:8080
    TILE_SERVER https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
    TILE_SERVER_ATTRIBUTION osmAttribution
  4. Start the server ember s or npm run start

    So to run the api and dashboard locally you might run COVID_API=http://localhost:8080 npm run start

Maintainers

Please contact [email protected] with any questions.

License

This project is licensed under the terms of the Apache 2.0 open source license. Please refer to the LICENSE for the full terms.

covid-19-dashboard's People

Contributors

balajimanoharan avatar eaccmk avatar jkusa avatar kevinhinterlong avatar riaz 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

Watchers

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

covid-19-dashboard's Issues

Refactor place hierarchy from fixed tree to DAG

The current model (based on simpler assumptions of the scope of the project) was a fixed taxonomy of Country, State, and County. This works fairly well for the United States but does not scale to accommodate more complex relationships:

Countries like the United Kingdom and Sweden where this taxonomy doesn't match the regional breakdown. Cities that have multiple zip codes (multiple parents in the hierarchy). Cities like San Francisco that are both a city and a county. We should refactor the data, API, and UI to accommodate a more dynamic hierarchy of places that allows n-levels of nesting, multiple parents, and places to be categorized as different types.

Reference:

Different version of the map/tile locally and the zoom in text is too tiny in the hosted page

I see a completely different tile for the map when running locally but i see the following issues with the hosted version of the dashboard.

  1. When you zoom-in, the text incrementally decreases in size (text is function of scale), which is not ideal, as its super hard to read that way.(See screenshot).

  2. The text color easily blends with background , when zooming in, so suggestion has to have a distinctive text for location names for a better UX.

Screenshot 2020-05-01 at 12 46 29 AM

Infinite map scroll doesn't plot the regions

I see that the locations get plotted only on one instance of the map and doesn't extend to regions as they appear due to infinite scroll impeding the purpose of infinite scroll
Screenshot 2020-04-29 at 11 14 53 AM

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.