I know my question might sound a bit too general but I actually just need some guidance to start learning geographical plotting with Plotly package iin python.
I'm following guides on the internet but I never really manage to replicate the method with data I find on the internet.
The simple case I'm trying to plot is the following:
- I have a Geopandas dataframe
gdf
with coordinates of point samples and a value, all measured in a particular European state (Netherlands in my case). - I found on the internet a shape of the state in json (link to json)
What I am trying to do is:
- Plotting a blank choropleth map of the Netherlands, so that it would set the correct position for points of the dataframe
- On top of the previous layer, I want to plot the points of my
gdf
I'm not asking for code so I won't be posting the gdf
.
What I really want to understand is
- Is this (
px.choropleth
overlayed withpx.scatter_geo
) the best way to plot points on a conventional geographical area? - What are the features that need to be present on my
gdf
in order to make this work? For now it has a 'geometry' column and a 'value' column.
Also feel free to post any additional resource that might prove helpful to start learning this topic (as long they explain every step and don't assume familiarity with geodata structure).