Create a "spatial map/nodalizaton"

Hello, I have searched throughout the plotly documentation, but I have not found anything useful. I would be glad to know if it is possible to create a sort of spatial map/nodalization in plotly as in the picture below, and then fill each white rectangle with data coming from a pandas dataframe.

I hope the request is clear enough.

Thank you!

Hey @Bron welcome to the forums.

I’m not sure if I understand the question. Are you searching for a way to β€œcolorize” the rectangles?

Does the base layout change or is the distribution of rectangles always the same?

1 Like