Treemap trace
See original GitHub issueI 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).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Python Figure Reference: treemap Traces - Plotly
graph_objects.Treemap trace is a graph object in the figure's data list with any of the named arguments or attributes listed below. Visualize hierarchal...
Read more >plotly.graph_objects.Treemap — 5.11.0 documentation
The treemap sectors are determined by the entries in “labels” or “ids” and in “parents”. ... Sets the horizontal domain of this treemap...
Read more >Change the root color of a treemap trace when using a ...
I'd like to change it to white. In the python plotly library there is a root_color argument to do so: fig.update_traces(root_color="lightgrey").
Read more >Chart::Plotly::Trace::Treemap - MetaCPAN
Visualize hierarchal data from leaves (and/or outer branches) towards root with rectangles. The treemap sectors are determined by the entries in *labels* or ......
Read more >FR: add a root_color option for treemap traces · Issue #1998
When using a colorscale on a treemap trace (without providing a root) the container is shown in black: library(plotly) labels = c("A1", ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It would be nice to have support to R too. Now treemaps are restricted to Python and Matlab.
Would be useful to have as an option in
hovertemplate
yes! By default I would say no.