A treemap chart displays the relative proportions of metrics across different dimension values. This topic describes how to add data to a treemap chart and configure its style.
Prerequisites
You have created a dashboard. For more information, see Create a Dashboard.
Chart Overview
Scenarios
Treemap charts visualize dimension values based on their associated metric proportions. They use visual effects such as highlighting and magnification to emphasize key data points and are commonly used to show the distribution of dimension values.
Advantages
Visualization: Uses a rectangular layout with customizable label displays.
Annotations: Supports notes and endnotes for metrics. You can also configure hyperlinks to interact with external systems.
Example Rendered Output

Limits
A treemap chart is composed of Labels (Dim.) and Size (Mea.):
Labels are determined by a dimension. You can select only one dimension, such as product category.
The size of each color block corresponds to the value of a data measure. You can select only one measure, such as transportation cost.
Configure Chart Data
On the Fields tab of the dashboard edit page, select the required dimension and measure fields:
In the Dimension list, locate Product Type and double-click it or drag it to the Color Label/Dimension area.
In the Measures list, locate Order amount and double-click it or drag it to the Tile Size/Measure area.
Click Update. The system updates the chart automatically.

Configure Chart Styles
This topic describes how to configure the style for scorecards. For general title and card configurations for charts, see Configure the Chart Title.
You can configure the style of the treemap chart in the Style Configuration section on the Style tab.
Configuration item name | Configuration item example |
Rectangle | Set the color palette and merge data into an "Other" category.
|
Legend | In the Legend section, click the Note The legend settings for PC and mobile are independent. You can switch to the mobile editing view by clicking the PC/Mobile switch button ( |
Data Labels | Set whether to show data labels and how they are displayed.
Note The content can be displayed as a percentage or a measure. You need to configure Percentage Decimal Places to 0, 1, or 2 only when Display Label is set to Percentage. |
Tooltip | Set the content, background color, and text style for the tooltip.
Note The tooltip toggle for PC and mobile are independent. You can switch to the mobile editing view by clicking the PC/Mobile switch button ( |
Total | Set the name and text style for the total.
|
Configure Chart Analytics
Name | Description |
Drilling | After you set the drill-down fields in the fields panel, you can configure the display style for drill-down level rows here. For more information, see Drilling. |
Filter Interaction | If the data you need to analyze is in different charts, you can use filter interactions to link multiple charts for data analysis. For more information, see Filter Interaction. |
Jump | When the data that you want to analyze belongs to multiple dashboards, you can use dashboard navigation to associate the dashboards for data analysis. Navigation includes three methods: in-product Navigation, intra-page widgets, and External Links. For more information about how to configure this feature, see Navigation. |
Annotate | If data in the chart is abnormal or requires special attention, you can use color highlights, icons, comments, or data points to annotate it. This helps you identify anomalies and take action. For more information, see Annotate. |
Delete the Chart
To delete the chart, follow the steps shown in the figure.

What to do next
If other users need to view the dashboard, you can share it with specific users. For more information, see Share a Dashboard.
To create a complex portal with a navigation menu for thematic analysis, integrate your dashboards into a BI portal. For more information, see Create a PC BI Portal.


icon to enable the chart legend and configure its style.
) at the top of the dashboard edit page to configure a separate legend for mobile devices.

