# Function TreemapChart

TreemapChart(props, deprecatedLegacyContext?): null | ReactElement< any, any >

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
deprecatedLegacyContext? any ::: warning Deprecated

:::

See

React Docs (opens new window)

# Returns

null | ReactElement< any, any >

Treemap Chart component