Tree map
allows you to visualize large data using its proportional shelves and color scales.
Figure: Default Tree map visualization showing country wise stocks count.
Figure: Tree map visualization after various customizations.
NOTE: Before adding the Treemap widget to the design layout, make sure to create the data source. You can refer to this section to learn how to create a new data source.
IMPORTANT: To showcase a tree map, a minimum requirement of one value and one group by field is needed.
The following steps explains data configuration of tree map.
Properties
icon in the configuration panel.
properties
panel of the widget will be displayed as shown in the following screenshot. Now, switch to the ASSIGN DATA
tab.Bind column by dragging and dropping element from sections to values.
IMPORTANT:
You can filter
, format
, and Rename
the data displayed in the widget from the settings menu options. To open the settings menu
, click the settings icon.
The following screenshots shows the various settings menu options based on the type of field configured in the type of section.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can change the aggregation type of the measure section from the settings menu as shown in the following screenshot.
Refer to this section for more details.
You can use the Filters
to change the values by selecting the Filter option. For more details, refer to the Measure filter and dimension filter.
You can format the elements by selecting the Format
option. For more details, refer to the measure format.
Drag and drop the elements from sections to columns.
IMPORTANT:
You can change the Settings.
The configured field names can be edited by using the Rename
option provided in the settings menu.
You can apply filter
by selecting the Filter(s)
option in the settings. For more details, refer to the filter.
You can configure the tooltip
section to showcase the additional information in the widget’s tooltip without affecting the visualization. Refer to this section for more details on configuring the tooltip fields.
You can format the tree map for better illustration of the view that you require, using the settings available in Properties
tab.
This allows you to set title
for this tree map widget.
This allows you to set subtitle
for this tree map widget.
This allows you to set brief explanation about this grid widget.
This option allows you to toggle the visibility of tooltip in the tree map.
This allows you to toggle the visibility of legend.
This allows you to select the color for the tree map label. The default value is #ffffff.
This allows you to toggle the visibility of value labels.
In case of hierarchical view, multiple levels will get rendered in the same view. This option will be visible, if you bind more than one column in the Columns section. This can be switched to drill down view by enabling this setting.
To configure linking to URL or dashboard with the widget using its settings. For more details, refer to the Linking.
This allows you to configure a single-color palette whose saturation will be varied based on the value density. The default value is #f6727f.
Select Advance setting to configure conditions and apply color to the cells based on that. Click here for more details.
This allows you to define this tree map widget as a master widget
such that its filter action can be made to listen by other widgets in the dashboard.
This allows you to define this tree map widget to ignore responding to the filter actions applied on other widgets in dashboard.
Using this option, you can enable or disable the hierarchical top N
filtering. While applying top N
filter with multiple dimension columns, the data returned can be customized based on whether the filtering need to be done as flat or based on the hierarchy of dimension columns added.
When the Hierarchical Filter
option is enabled, the top N will be applied for each individual column separately based on the number set for each column.
In case, if you have the requirement to highlight any data based on some conditions, you might be required to enable the advanced formatting option.
Refer to the following sections for the detailed steps on using the Gradient, Rule, and individual modes.
You can customize the fill color of the tree map using the gradient based conditional formatting. This is the default mode.
You can choose any field from the Based-On section to apply the conditions from the drop-down.
You can select the summary type for the selected measure field.
You can define your range by entering the low, mid, and high values.
NOTE: It is optional, if no value is entered, then the ranges will be auto calculated based on the minimum and maximum values from the data source.
You can enter the title for the tree map legends.
If the region of tree map value is out of the specified range,then the color specified in the default color will be applied.
This allows you to customize the fill color of the tree map based on one or more numerical / text conditions.
The value type drop-down allows you to choose whether to apply the direct value (specific number such as three goals, order ID 10248) or percentage (values above 30% or 50 %).
You can give a meaningful name to the applied conditions.
Choose the condition for measure field from the highlighted conditions.
If you selected the dimension as a based-on field and want to use text condition, the following text-based conditions are available.
NOTE: The text-based condition type will be enabled only when the dimension selected is used as the based-on field.
You can mention the condition value.
For the dimensions, the case sensitive option is provided to choose whether the entered value is case sensitive or not.
Select the fill color for that condition using the color picker.
Click the add condition
to specify add new condition.
Click the delete
button to remove the existing condition.
Using the individual
mode, you can specify a color for each record.
IMPORTANT: Only top 100 records will be listed in the dialog.
You can choose a color for the record from the nearby color picker.
To undo all the changes, click reset.
This allows you to handle the alignment of widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
On enabling Auto Font Size, the font size of the title will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.
On enabling Auto Font Size, the font size of the subtitle will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.
On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.
Padding
This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.
This allows you to toggle the visibility of the border
surrounding the widget.
This allows you to apply the specified radius
to the widget corners if the Show Border is enabled. Value can be between 0 and 10.
This allows you to set the background image for the tree map widget.
This allows you to set the background color to the tree map widget.
This property allows you to specifies the transparency for the background color.
This allows you to toggle the visibility of the shadow
surrounding the widget.
This allows you to enable or disable the widget title
of the tree map.
This allows you to enable or disable the maximized mode
of the tree map widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export
option for the tree map widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export
option for the tree map widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the tree map widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export
option for the tree map widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details, refer to this link.
This allows you to visualize the raw data associated with a widget at runtime.
To learn more about viewing the underlying widget data, refer to the view data documentation.
This allows you to pin the widget.
We hide the widget elements based on the size of the widget for better readability.
When the tree map has been placed with less than 7 columns legend will be hidden.
.