In this article
Treemap uses sizes and colors similar to Sunburst mode but doesn't visualize hierarchy levels. Labels, values, colors can be customized.
Treemap mode uses sizes and colors similarly to Sunburst mode. The setup and functionality are the same as Sunburst mode, but hierarchy levels are not visualized.
To display your Hierarchy Visualization widget in Treemap mode, choose the Treemap option under Visualization mode.
Size
Treemap mode uses sizes and colors similarly to Sunburst mode, with the same setup and functionality, but without visualizing hierarchy levels. To display your Hierarchy Visualization widget in Treemap mode, select the Treemap option under Visualization mode.
Label
To edit the label, click the pencil icon. The label will appear in a window when you hover over any hierarchy level.
Defining and locating the size label in Treemap mode
Value
The Value defined here determines the size of each hierarchy level and what shows when you hover over each level.
Click the Expression Builder
icon by the "Value" field.
Choose the Source.
Select the Table or Measure.
Example of 4 different sizes in Treemap mode, defined by the categoryCount value
Defining and locating the size value in Treemap mode
Value Format
The Format determines the appearance of the selected Value.
Defining the size value format as No Decimals
Color
In the Color section, you can control the colors of hierarchy levels and what shows when hovering over a hierarchy level by specifying a Value, Color Format, and Value Format. Additionally, you have the option to display the Legend.
Label
Choose a label to display when hovering over levels in the widget.
Defining and locating a color label in Treemap mode
Value
The Value defined here, in combination with the Color Format, determines the color of each hierarchy level and what shows when you hover over each level.
Click the Expression Builder
icon by the "Value" field.
Choose the Source.
Select the Table or Measure.
Defining and locating the color value in Treemap mode
Color Format
The Color Format is where you define what colors will appear in the widget, and under what conditions.
See Color Formatters for more information on creating your own color formatters in Studio.
Defining and locating the color format in Treemap mode
In the example, the value has been set to "categoryAverage" and the Color Format has been configured to display an average greater than or equal to -5 as one color, an average greater than or equal to -4 as another color, and so on.
Value Format
The value format determines the appearance of the selected value.
Defining the color value format in Treemap mode
Show Legend
The Show Legend button enables you to display a legend at the bottom of the widget that shows the Performance indicators, including the Value label and Color Format.
To enable this feature, click the Show Legend button.
Showing the legend beneath the widget in Treemap mode
Drilldown in a Treemap Diagram
Unlike the Sunburst diagram, the Treemap diagram does not display hierarchy levels. The Treemap diagram only shows the top hierarchy level. To view the sub-categories and the second hierarchy level, left-click the top hierarchy level, then select Drill Down from the opened menu.
Accessing the drilldown in a Treemap diagram
In the image, the user selects the Premium category in the Treemap Diagram. This action updates the view of the widget to Drilldown: Premium, revealing the sub-categories within Premium in the second hierarchy level.