carbon-charts
carbon-charts copied to clipboard
[Question]: Is it possible to sort the Treemap by value instead of group
Contact Details
Question
Is it possible to sort a Treemap by value instead of group? I am using groups for the color.scale but want to sort the Treemap by the value instead of by group then by value.
For this example, it would mean the colors would be mixed throughout the Treemap but the biggest deals would always be on the left and smallest in the lower right.
I didn't see any way to do this other than putting all the data in one group then overpowering the underlying rects to change their color.