RyanDBurke / coronavirus-heat-map

πŸ”₯ heat/interactive covid-19 map; windows application that displays live state-by-state covid-19 statistics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v1.0

UPDATE πŸ˜•

The API I was using to extract the live information has been CLOSED and can only be accessed by first-responders, I'll update the app to work in the near-future. The demo below still accurately shows how the app functioned before the API closed.

Table of Contents

coronavirus-heat-map

demo

demo

Features

  • Total tested, positive, and deaths for each states
  • Interactive map where you can select your state
  • Heat map
  • Graph displaying statistical totals from the previous six months

Installation

Windows Only
  1. visit https://drive.google.com/file/d/10aEt1DqdfudY6pT64NO-YPxfZauiQCSX/view?usp=sharing
  2. Download COVID_HEAT_MAP.zip, then unzip
  3. Double-Click setup.exe (Windows may block installation, select "More info", then "Run Anyway").
  4. A window will appear, select "Install"
  5. Enjoy!

NOTE: If you have the Visual Studio 2019 IDE and don't want to download a .zip

  1. Clone the repository https://github.com/RyanDBurke/coronavirus-heat-map.git
  2. Open the project solution
  3. Press CTRL+F5 to run application

Concluding Thoughts

[CORONAVIRUS-HEAT-MAP]

I avoided using the MVVM-Framework because I figured it would be sort of overkill for what I consider a 
pretty straight-forward application.

So, instead its broken into two main C# files
  * StateData.cs
    * Fetches data for each state
    * Performs ~some~ functions for the data collected (probably shouldve split it up for clarity, 
      but I'll do that in the future)
  * MainWindow.xaml.cs
    * Evaluates and performs ~most~ functions for the data collected
    * communicates/manages with the XAML-built UI

Future Goals
  * How can I make this code easy to follow to the extent that someone could read, 
    understand, and build upon it.

NOTE
  * I use the word "state" alot in the source code. Sometimes to refer to actual states (Maryland, New York, etc) 
    and other times to refer to the state of the UI (heat map or interactive map). 
    I hope context-clues negate any semantic ambiguity.

About

πŸ”₯ heat/interactive covid-19 map; windows application that displays live state-by-state covid-19 statistics.

License:MIT License


Languages

Language:C# 100.0%