Rebar UI

1.0

synthetic

Treemap

Rectangles sized by value, one level of grouping.

Budget by areaFive projects grouped by area
Harbour rebrandDepot signageProduct
Budget by area
Flat
Harbour rebrandTideline mobile
By project
One group
Harbour rebrandDepot signage
Brand
Zero values
Rota exportCrew interviews
Nothing spent

In context

Finance overviewWhere the studio's budget sits
Budget, Q4

£158,450 across five projects. Product is the largest area.

Harbour rebrandDepot signageProduct
Budget by area

Props

PropTypeRequiredDefault
dataTreemapNode[]Yes—
titlestring | undefinedNo—
ariaLabelstring | undefinedNo—
widthnumber | undefinedNo480
heightnumber | undefinedNo320
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

Layout

Slice-and-dice: top level splits horizontally, children vertically, area proportional to value. Nesting stops at one level.

data-rebar-* attributes

data-rebar-component="treemap" on the root <figure>.

Migrating to Ant Design

Not codemod-covered. AntD ships no chart components (it recommends @ant-design/charts); there is no 1:1 mapping for a treemap.