Skip to content

Treemap

const Treemap: ForwardRefExoticComponent<TreemapComponentProps & RefAttributes<ChartRef>>

Defined in: index.tsx:438

Treemap React component - squarified rectangles proportional to value.

Example

<Treemap data={[
{ label: 'Compute', value: 42 },
{ label: 'Storage', value: 28 },
]} />