The 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 tree map 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 explain the data configuration of the 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 columns by dragging and dropping elements from sections to values
.
IMPORTANT:
- The field added in this section will act as a measure value.
- It is a mandatory section and a minimum of one value is needed for visualization.
- A maximum of two fields can only be added.
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 show 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:
- The field added in this section will act as a dimension value.
- It is a mandatory section and a minimum of one value is needed for visualization.
- Any number of fields can be added.
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 filters
by selecting the Filter(s)
option in the settings. For more details, refer to the filter.
Hidden columns are useful in cases where we don’t want the fields to take part in the visualization but only to be used for linking, filtering and view data.
We can configure both measure and dimension fields in the hidden column. For measures, we will have all the settings available for measure fields except formatting and filtering.
In the case of dimension fields, we will have the following options only. In Date fields, we will have all available types except sorting, relative date filter, settings, and filters.
The primary use case for hidden columns is linking. When hidden columns are configured, the fields included in hidden columns are listed in the linking section. By configuring a column in the linking section, we can pass the corresponding column value as a linking parameter.
Measure Based Example: If we want to pass the number of shots as a URL parameter but do not want it to affect the visualization, we can configure the shots in the hidden columns and include them in the link.
Dimension Based Example: If we want to pass the number of Team Name played as a URL parameter without affecting the visualization, we can configure the Team Name in the hidden columns and incorporate them into the link.
You can use hidden columns to filter data in the visualizations. Configure hidden columns and click on the filter icon below.
Click on the Custom button highlighted in the filter configuration dialog image below. It will list all the fields configured in the widget. Keep the field configured in the hidden column and remove the other fields, then click the Update button.
Now, in the image below, we can see that the data is filtered based on the hidden column field instead of the actual column that we bound in the widget.
For more details about filtering the widget data, refer to the Cross Filter Configuration documentation.
You can view the data in the hidden columns in the underlying data view. This is useful for checking the data in more detail and can help you identify any issues with the data.
NOTE: We do not recommend configuring lower hierarchy data in hidden columns, as indicated by the info icon in the
Hidden Column
section.
The tree map below displays the goals by each team without hidden columns.
If we configure lower hierarchy data (Player Name) in hidden columns, the data configured in the widgets will be duplicated. The sorting order of the widget will change. This affects the tree map visualization, as shown in the image below.
You can configure the tooltip
section to showcase 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 widget to better illustrate the desired view using the settings available in the Properties
tab.
This allows you to set a title
for the tree map widget.
This allows you to set a subtitle
for the tree map widget.
This allows you to provide a brief explanation about the grid widget.
This option allows you to toggle the visibility of tooltip in the tree map.
This allows you to toggle the visibility of the 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.
Once you’ve drilled down, you can drill up to the previous view using the breadcrumb navigator located at the top of the widget.
To configure linking to a URL or dashboard with the widget using its settings. For more details, refer to the Linking section.
This allows you to configure a single color palette whose saturation will vary based on the value density. The default value is #f6727f
.
Select Advanced 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
so 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 the dashboard.
Using this option, you can enable or disable hierarchical top N
filtering. While applying top N
filter with multiple dimension columns, the returned data can be customized based on whether the filtering needs to be done 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 detailed steps on using the Gradient, Rule, and individual modes.
You can customize the fill color of the tree map using gradient-based conditional formatting. This is the default mode.
Choose any field from the Based-On section to apply the conditions from the drop-down.
Select the summary type for the selected measure field.
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 automatically calculated based on the minimum and maximum values from the data source.
You can enter the title for the tree map legends.
If the value of a region in the tree map is outside 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 (such as three goals or order ID 10248) or percentage (values above 30% or 50%).
You can give a meaningful name to the applied conditions.
Choose the condition for the measure field from the highlighted conditions.
If you selected the dimension as a based-on field and want to use a text condition, the following text-based conditions are available.
NOTE: The text-based condition type will only be enabled when the selected dimension is used as the based on field.
You can specify the condition value.
For 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
button to specify a 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 the 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 adjust the alignment of the widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
When Auto Font Size
is enabled, the font size of the title will be adjusted automatically if the screen resolution 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.
When Auto Padding is enabled, the padding of the widget container will be adjusted automatically if the widget size varies.
Padding
This allows you to customize the padding of the widget container if Auto Padding is disabled. The 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 a specified radius
to the widget corners if Show Border is enabled. The value can be between 0 and 10.
This allows you to set a background image for the tree map widget.
This allows you to set the background color for the tree map widget.
This property allows you to specify 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 the following link: Dashboard Widget Comments.
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 fewer than 7 columns, the legend will be hidden.
.