GithubHelp home page GithubHelp logo

dgkm / covid-19-dash-map Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cryptopotluck/covid-19-dash-map

0.0 1.0 0.0 138 KB

The tutorial for how to render a map in python and graph data based off coordinates

Home Page: https://covid-dash-udemy.herokuapp.com/

Python 89.59% Jupyter Notebook 10.41%

covid-19-dash-map's Introduction

##Covid-19 Plotly Dashboard Project

alt text

View the Application Here: https://covid-dash-udemy.herokuapp.com/

Introduction Video:

How to Build Maps Tutorial Video

Learn More on Django, Plotly & Dash on my Full Course:

Full Udemy Course

Maps & Graphs

tab_home alt text

  1. Graph 1: Find Cases, Recoveries & Deaths on the map bubble chart.
  2. Graph 2: See our global growth rate & notice the data from china in red. It isnt because China is amazing its not growing because China's Numbers are unreliable.

tab_usa_map alt text

  1. Graph 1: Scale the Case Rate & update the graph bellow. See what areas are affected & How many cases near you by hovering over the map.
  2. Graph 2: Show the current cases in the USA with a layered bar chart to represent each states growth contributions.

tab_snapshot alt text

  1. Graph 1: Select a date from the dropdown menu 3/27/2020 -> Now & fetch on the dataset in the table.
  2. Graph 2: Bar Graph Representing the contributions by country Table Dataset: Dataset being fetched by selecting a date.

Async Data

fetch_today.main(date: str, value:int, usa_only:bool): returns today's values only

fetch_to_date.main(date: str, value:int, usa_only:bool): returns (selected date) -> Yesterday's Values. f'https://covid19.mathdro.id/api/daily/{date}'

fetch_historic.main(): returns https://covid19.mathdro.id/api/daily

How to Install

  • Create an virtual env

    1. Check if you have a virtual env virtualenv --version
    2. (Not Installed) Dont see a version number? run sudo pip install virtualenv
    3. (Installed) Make a folder within the highest file of the project mkdir ~/env
    4. run virtualenv ~/env/my_new_app
    5. cd into the bin folder cd ~/env/my_new_app/bin
    6. activate the env source activate
  • pip install -r requirements.txt

  • Run the individual Files

Useful Links

Plotly

Dash Docs

dash-bootstrap-components

Covid-19 Data Used

Still Have Questions?

cryptopotluck.com

cryptopotluck Discord

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.