TreeMap
A TreeMap in REAVIZ displays hierarchical data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. The area of each leaf nodeβs rectangle is proportional to a specified data dimension, and the color often represents a separate data dimension.
Where to use:
- Visualize Hierarchical Data: Ideal for displaying hierarchical data structures.
- Show Proportional Values: Useful for showing how different parts of a whole compare in size.
- Highlight Data Dimensions: Great for highlighting multiple data dimensions, such as size and color.
Quick Start
To create a treemap chart, use import the TreeMap and give it data. The chart
will automatically configure itself with the default options exposed via props.
Examples
API
TreeMapΒ
TreeMapSeriesΒ
TreeMapLabelΒ
TreeMapRectΒ
Last updated on