Skip to content

TreeMap

The TreeMap Chart displays hierarchical data using nested rectangles, where each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches.
The area of each rectangle is proportional to its value.

Use cases:

  • Displaying hierarchical data with quantitative values.
  • Visualizing proportional relationships within nested categories.
  • Performing drilldown exploration using interactive breadcrumbs.

⚙️ Setup

  1. Drag the TreeMap Chart widget from the chart library onto your designer workspace.
  2. Select the chart.
  3. Go to the Widget Configuration tab in the Configuration panel.
  4. Under the Configuration panel tab, select the Basic Configuration option to access essential settings for the TreeMap Chart.
  5. Select the Source from which the chart will fetch its data.
  6. Map:
    • Measure — Numeric value determining the area size of each rectangle.
    • Dimension — Sequential categorical fields representing hierarchy levels. Minimum of 2 and maximum of 5 levels.
  7. Optionally add a Date field for time-based filtering.

📊 Basic Configuration

Configuration ItemDescription
SourceThe data source to query for chart values.
MeasureNumeric value representing the size of each rectangle.
DimensionCategorical fields forming a hierarchy. Minimum 2, maximum 5 sequential levels.
Date Field (optional)Enables date-based filtering and drilldown capability.

🎨 Chart Customizations

CategoryOptions & Description
GeneralTheme, background, interactivity, and accessibility options.
TitleChart title, font, alignment, and visibility settings.
SortingControl the sorting order of nodes at each hierarchy level.
GridAdjust chart margins and internal layout alignment.
HeatMapApply color gradients to visualize measure intensities within rectangles.
SeriesConfigure rectangle colors, borders, labels, label layouts, and value formatting.
TooltipTooltip content, value formatting, and triggers for displaying segment details.
OthersCustomize Breadcrumb navigation, Upper Labels, Zoom behavior, Leaf depth, and Color saturation range.

📊 Example Visualization

treemap chart