Created
June 27, 2020 14:48
-
-
Save rvipandey/56349d4997d77c5c2988d00222ee246e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
population=state_wise_daily.groupby(["Date"])[["Confirmed","Deceased","Recovered"]].sum().reset_index() | |
population["day_count"]=list(range(1,len(population)+1)) | |
fig = px.bar(population, x='day_count', y='Confirmed',text='Confirmed') | |
fig.update_traces(texttemplate='%{text:.2s}', textposition='outside') | |
fig.update_layout( | |
xaxis_title="Day", | |
yaxis_title="Population Effected", | |
title='Evaluation of Confirmed Cases In India',template='gridon') | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment