Code Monkey home page Code Monkey logo

covid-india-dashboard's Introduction

COVID 19 India Viz

This script offers wide range of plots covering various aspects of the pandemic in India

1. Timeseries Plot : Total cases vs time is plotted to understand the exponential growth of the virus

2. Trajectory Plot : This is a very important plot which can help us find out whether we're winning the war or not

3. Daily Cases Plot : Daily status is plotted against time. "Flatten the curve"

4. Demographics : Age,Tranmission Type,Sex of the patient is analyses. *Most data is missing

5. Deepdive : Quadrant plot to analyze why certain states are failing with testing and controlling the pandemic

6. Geoplot : State and distrct wise geographic heatmap of number of caes. This will help us to understand the target zones

State Code

Code State Code State
AN Andaman and Nicobar Islands AP Andhra Pradesh
AR Arunachal Pradesh AS Assam
BR Bihar CH Chandigarh
CT Chhattisgarh DN Dadra and Nagar Haveli
DD Daman and Diu DL Delhi
GA Goa GJ Gujarat
HR Haryana HP Himachal Pradesh
IN India JK Jammu and Kashmir
JH Jharkhand KA Karnataka
KL Kerala LA Ladakh
LD Lakshadweep MP Madhya Pradesh
MH Maharashtra MN Manipur
ML Meghalaya MZ Mizoram
NL Nagaland OR Odisha
PY Puducherry PB Punjab
RJ Rajasthan SK Sikkim
TN Tamil Nadu TG Telangana
TR Tripura UP Uttar Pradesh
UT Uttarakhand WB West Bengal

To run the scipt

Create a Kaggle api and store the json in local users .kaggle Follow this link to know about it : https://github.com/Kaggle/kaggle-api

  1. Install all the required packages from requirements.txt
  2. First update your database by python scraper.py
  3. View the graph of your interest by python main.py "plontname" "statecode"

Valid plot names are

  1. Timeseries
  2. Trajectory
  3. DailyCases
  4. Demography
  5. Deepdive
  6. Geoplot

Credits to https://www.kaggle.com/sudalairajkumar/covid19-in-india and https://www.mohfw.gov.in/ for the dataset.

Future Work

  1. SIR Modelling.
  2. Sentiment Analysis using Google Trends.
  3. What is the effect of Lockdown (I feel it's very early to look into it's benefits)

covid-india-dashboard's People

Contributors

sid-1698 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.