Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 5, 2020 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/77b54495aec876d494be9058b96955be to your computer and use it in GitHub Desktop.
Save amankharwal/77b54495aec876d494be9058b96955be to your computer and use it in GitHub Desktop.
def plotDot(point):
folium.CircleMarker(location = (point.latitude, point.longitude),
radius = 5,
weight = 2,
popup = [point.Country, point.Confirmed, point.Recovered],
fill_color = '#000000').add_to(m)
covid_df.apply(plotDot, axis = 1)
m.fit_bounds(m.get_bounds())
m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment