I believe treemaps could deserve to be supported natively as a new type instead of having to precompute the rectangles and add them as shapes.
One reason is that using shapes prevents us from directly using a colorscale on another trace attribute (since the shapes' fillcolor attribute only accepts a color value).
I believe treemaps could deserve to be supported natively as a new
typeinstead of having to precompute the rectangles and add them as shapes.One reason is that using shapes prevents us from directly using a
colorscaleon another trace attribute (since the shapes'fillcolorattribute only accepts a color value).