Create a choropleth map with custom shapefiles and add another layer to point the gps(lat,lon) locations

I want to build choropleth map using custom shapefile on base maps(Using mapbox may cause problems in terms of licensing for my company) and add another layer to point to the locations identified by Latitude and Longitude in Dash. Currently, I am having shapefiles(.shp,.dbf,.prj,.shx & .cpj). Is there a way to use these shapefiles to build choropleth map in plotly?

If geojson(using carto base maps) is the only way to do it, how to add another layer(locations identified by latitude and longitude) on top of choropleth map in plotly.

Also, can you please clarify if using carto base maps requires any licensing?

@ykone were you able to solve your issue? I want to do the same and can’t find any answer

I just converted the shapefiles to geojson using geopandas. You might have to pay attention if your coordinate reference system (CRS) isn’t WSG84 – see the geopandas documentation here: