CocoLi7777 / dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID-19 Recoveries Dashboard

Content

Introduction

This project is to build an analytics dashboard and provide visualizing COVID-19 data related to Western Australia and Victoria.

The tasks are:

  1. Consume an API from the community and get JSON data converting from CSV.
  2. Aggregate and group data of everyday to get monthly data of recoveries numbers for states of Western Australia and Victoria.
  3. Display the data in dashboard and also show each state's local time at time of loading the dashboard.

Live Demo

This application is deployed to Heroku, here is the link

Details:

Information displayed

  • Data trending in overall 2020
  • From January to December numbers of recovery displaying by each state
  • Each state local time at time of loading the dashboard ​

Highlights

  • Vanila JavaScript in the front-end instead of framework to reduce the script size and for the performance.
  • Getting data from third-party API service and updating dashboard automatically.
  • Using csvjson to convert data formats.
  • Using Chart.js to visualize the data.
  • Responsive UI using Bulma, mobile friendly.
  • Date format and timezone using Momont.
  • Loading animation solution using only HTML & CSS.
  • Setup Continuous Deployment using Github and Heroku, having continuously improvement to the application.

What's still going on...

I'm creating local file system cache just in case the third-party API failure. This is back-up plan for better user experience.

Prerequisites

  1. Node.js - Download and Install Node.js. You can also follow this gist for a quick and easy way to install Node.js and npm

  2. NPM - Install NPM for all dependencies both in server and client.

Quick Start

Install dependencies for server : npm install

Running locally

Run the client & server : npm start

About


Languages

Language:JavaScript 60.8%Language:HTML 24.4%Language:CSS 14.8%