/GraphPlots

Plotted the various Graphs like Bargraph, Pie Chart etc. for Covid-19 Data

Primary LanguagePython

In This Repo we are having 3 Plots:

  • Decline in Birth Rate, Germany [BARGRAPH]
  • Covid Deaths in Europe [LINE PLOT]
  • Vaccine Fear in India [PIE CHART]

First Step

  • Download and Unzip the File (if Zip Download)

    or

  • Run below in terminal (It will do Everything :) | Windows Only ):

    git clone https://github.com/manipta/GraphPlots.git
    cd GraphPlots
    start .
    

Decline in Birth Rate, Germany [BARGRAPH]

  • Open cmd here and run below
py germany_birth_bargraph.py

I have Tried to make the code Flexible so it will ask certain inputs as shown below:

image

  • As the data was yearly discreted so we can define our own interval
  • Code is flexible to any interval.
  • Other options like Labeling format or saving data is to make the code more interactive.

image

There is a continous decline in birth rate.

Also, saves The File:

image

I coded Plot's Ymax to be change with change in data as well.

Covid Deaths in Europe [LINE PLOT]

  • Open cmd here and run below
py covid_deaths.py

On Running above it will give you something like this:

image

We can see that in week 15 of 2020 it is highest death counts ever

Vaccine Fear in India [PIE CHART]

  • Open cmd here and run below
py vaccine.py

On Running above it will give you something like this:

image

Around 1/4th People was not in favor of vaccine.

Sources/References

NOTE: This Repo is Related to an Assignment Work that belongs to IIT-B