Chart

Treemap

Web supportediOS supportedAndroid supported

Pack hierarchical values into a rectangle.

ECharts treemap series · View source

Use it when compact use of space matters more than hierarchy depth.

Configuration

Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.

NameTypeDefaultDescription
nodes*ChartHierarchyNode[]—Hierarchy on web.
data*ChartHierarchyNode[]—Hierarchy on iOS and Android.
formatChartNumberFormat—Number prefix, suffix, decimals, and locale.
heightnumber240 web / 320 nativeChart height in pixels or native points.
isLoadingbooleanfalseShows the built-in placeholder while data loads.
themeChartTheme—Colors and typography for this chart.