✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Function TreemapChart
TreemapChart(
props):ReactElement<any,any> |null
A React component displaying hierarchical data in the form of nested rectangles.
This type of chart can be used instead of a column chart for comparing a large number of categories and sub-categories.
# Example
Tree map chart displaying total revenue, categorized by condition and age range, from the Sample ECommerce data model.
# Parameters
| Parameter | Type | Description |
|---|---|---|
props | TreemapChartProps | Treemap chart properties |
# Returns
ReactElement< any, any > | null
Treemap Chart component