Skip to content

Instantly share code, notes, and snippets.

@ekhoda
Last active December 27, 2019 02:31
Show Gist options
  • Save ekhoda/ead8c278f796f5ca495df694e5b9a7ed to your computer and use it in GitHub Desktop.
Save ekhoda/ead8c278f796f5ca495df694e5b9a7ed to your computer and use it in GitHub Desktop.
fig = go.Figure()
# Add locations
fig.add_trace(go.Scattergeo(
lon=df['lon'],
lat=df['lat'],
text=df['text'],
marker=dict(size=df['size'],
symbol=df['shape'],
color=df['color'],
line=dict(width=3, color='rgba(68, 68, 68, 0)')
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment