Skip to content

dgkm/Covid-19-Dash-Map

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.6%
  • Jupyter Notebook 10.4%