Black Lives Matter. Please consider donating to Black Girls Code today.

Adjusting circle size on globe in Scattergeo

Hi All,

I’m trying to visualize a globe with filled circular markers with a radii described in units of degrees on that globe, not pixels as is the default behavior. Is there a way to query for the plot scale to convert from pixels to degrees on the sphere?

I have found that I can make a circular line via Scattergeo which can trace the outline of a circle, but I can’t fill the circle that way, which is important for the visualization.

Thanks for your help!

Not at the moment unfortunately. All marker size values are scaled in pixel space.

We just added "fill: toself" in scattergeo trace which should help you get this to work. If you’re using offline, you’ll have wait a couple days to use this feature.