Skip to content

Instantly share code, notes, and snippets.

@jurand71
Created July 30, 2022 16:52
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 jurand71/938c9dbab22a246a5992eb30d7c7090b to your computer and use it in GitHub Desktop.
Save jurand71/938c9dbab22a246a5992eb30d7c7090b to your computer and use it in GitHub Desktop.
import pandas as pd
import plotly.express as px
df = pd.read_csv("instalacjeIPPC_2022.csv", sep=';')
fig = px.scatter_mapbox(df, lat=df.LAT, lon=df.LONG, color=df.NUMER_BRANZY, hover_name=df.NAZWA_ZAKLADU,
hover_data=[df.KOD_POCZTOWY, df.NAZWA_MIEJSCOWOSCI],
size_max=10, zoom=5, mapbox_style="open-street-map", opacity=0.8, height=600)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment