How to prevent markers on Scatter plot from overlapping?

I’m generating scatter map using Scattergeo. Some of the markers that are clustered together look very messy with their text overlapping. Are there workarounds for this?

I don’t necessarily need the markers to be at their exact coordinates, but I don’t want to manually tweak each geo-coordinate since it would be too many coordinates. So something programmatic would be best.

Thanks!

Hey @bestfirstsearch, maybe not a direct answer to your issue but dash-leaflet has the cluster option:

https://www.dash-leaflet.com/docs/geojson_tutorial

This wouldn’t be a solution to my requirements, but I appreciate the info.

1 Like

I don´t see anything built-in to do something like this. I think you’ll have to tweak the coordinates manually. You would need to address the zoom level on the map for this “manual” clustering, though.