I have created a choropleth visualisation, code below:
fig = px.choropleth(df_countrydate, locations="Country", locationmode = "country names", color="Confirmed", hover_name="Country", animation_frame="Date", color_continuous_scale="reds" #range_color=(0, 1000) ) fig.update_layout( title_text = 'Spread of Coronavirus Outside of China', title_x = 0.5, geo=dict( showframe = False, showcoastlines = False, )) fig.show()
I want to deploy this to a dash app but can’t find any documentation or anything telling me how I can? I’ve got it up and running in a jupyter notebook, so I know it works, but any help would be amazing.
I have a basic dash app running with, basically, a ‘hello world’, but can’t update it with this viz.