Description:
Geo-covid: A data dash board for the Covid 19 situation in the USA
This repo is the front-end for my geo-covid project (a data dashboard embedded as a web application).
Back-end repository can be found here
As of current (time of this commit), demo is online at Link
please excuse the slow initial loading time, it's a free hosted backend and database
The dashboard aims to
- Daily full map view of one country’s COVID 19 situation divided by its regions
- Let user view historical date through altering a time slider to change date
- Basic statistics of the whole country including:
- Top raking regions on covid infection
- Line chart of total infections
- Today's covid distribution between visualized by bar chart
- Hovering on a region will show its basic info, clicking on it will show a timeline of Covid in the region
- Angular
- TypeScript
- Leaflet (map rendering)
- D3.js (graphing)
- Tailwind + SASS (styling)
- Eslint (linting)
Dakota state Covid timeline | Covid distribution (30/05/2020) |
---|---|
All time covid timeline | Top chart covid infection (10/03/2020) |
---|---|
Requirements and Installations:
-
Install packages
npm install
-
Setup environment
cp .env.dist .env
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
- Run
ng serve
for a dev server. - Navigate to
http://localhost:4200/
. - The application will automatically reload if you change any of the source files.
/data
: raw csv data/scripts
: script to load data to database: include a.py
version and anotebook.ipynb
version to show step by step execution/us_covid_api
main project files, inside includes these main files:models.py
: Object relational mapping of database items/tableserializers.py
: Turn Object to JSON objectviews.py
: Request/Endpointurls.py
: Set endpoint URL
Created by @produdez - feel free to contact me or follow my blog on medium ❤️!
This project was generated with Angular CLI version 14.0.6.