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

Anything in Python Plotly can create guardian Heat Map on maps

That looks like that picture.

I know that mapbox js can do that but I wonder if we could do this in python plotly

Hi @cameron54,

I don’t think there’s anything currently available to do this directly. Mapbox can do something similar with a heatmap layer (https://www.mapbox.com/mapbox-gl-js/example/heatmap-layer/), but it looks like the plotly.js Mapbox trace doesn’t support this layer type at the moment (https://plot.ly/python/reference/#layout-mapbox-layers-items-layer-type).

I opened an issue in the plotly.js project that you can keep an eye on (https://github.com/plotly/plotly.js/issues/3110).

-Jon