GithubHelp home page GithubHelp logo

data-visualisation-covidandstockmarket's Introduction

Covid-19 Data Viewer

With open source tools from Python Dash and data from worldometers.info and John's Hopkins University, I've created an interactive web-app dashboard for Covid-19/Coronavirus time series and demographic data.

main screenshot

Data Views include line and scatter plots, as well as the raw data table. All charts are interactive, with features such as hovering on lines and points for more data, zooming, scrolling, and selecting data features. Charts can be toggled between linear and exponential plotting, as well as cumulative, daily increase, trajectory, and "development since x number of cases" views.

Installation

Requires Python 3.5+

pip install -r requirements.txt
python app.py
open http://127.0.0.1:8001/

To manually update and cache the worldometers.info data:

python -m model.worldometer

Directory structure

.
├── README.md
├── requirements.txt
├── app.py                    // the main app/controller
├── assets                    // CSS styling and "about" text files
│   ├── about.md
│   ├── about_line.md
│   ├── about_scatter.md
│   ├── favicon.ico
│   ├── s1.css
│   └── styles.css
├── model                    // all data and processing logic
│   ├── __init__.py
│   ├── country_iso.py
│   ├── cssegisand_data.py
│   ├── utils.py
│   ├── worldometer.py
│   └── worldometer_*.csv
└── view                     // the app layout/view
    ├── __init__.py
    ├── line_graph.py
    ├── scatter_plot.py
    ├── table.py
    ├── title.py
    └── utils.py

Screenshots

main screenshot

Known Issues

  • units and general data is not available on hover of the line or scatter chart (only raw x, y values)

    • would like to have a uniform way for sending data into the Plotly plot objects (rather than iteratively and with a DataFrame.)
  • zooming is auto-refreshed on hover for all charts

    • could be an issue with the way I'm handling hovering

data-visualisation-covidandstockmarket's People

Contributors

jadhavsujit4 avatar

Watchers

 avatar  avatar

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.