ocss884 / Biostat821-finalproj

0 stars 0 forks source link

US Covid-19 Vaccination Visualization Project

The US Covid-19 Vaccinations is a simple web application presenting the recent progress of COVID-19 vaccinations in United States for each state based on data from CDC. This project has been served at Heroku, online access link here.

Snapshot

snapshot

Features Intended to Implement

  1. Interactive US Map: Create an interative US map visualizing the current total doses allocation by state/territory.
  2. Time slider: Plot the comparison of vaccine allocations between Pfizer and Moderna with a slider showing the allocaion history.
  3. Race plot: Provide an animation for top 10 most allocated states over time.
  4. Stats Table: Present the statistic of finished vaccine allocation in each state; Create a drop-down list and a search box for user's choices of interest for states.

Directory Tree

├──run.py
├──main
    └──static
        ├──img
        ├──assets
            ├──css
            ├──img
            ├──js
            ├──vendor
    ├──templates
        ├──base.html
        ├──index.html
        ├──table.html
        ├──table2.html
        ├──figure
            ├──moderna.html
            ├──pfizer.html
            ├──race_plot.html
    ├──generator
        ├──map
        ├──db
    ├──__init__.py
    ├──route.py
    ├──vaccine.db

Serve locally

Enter the root directory. Command export FLASK_APP=main in linux environment and run flask run

Data Source

All data are obtained from Data.CDC.gov

Member and Contribution

Architecture

This application uses Flask framwork, SQLite database and deployed in Heroku. Ploty is used for visualization.