The Treemap is a multi-dimensional widget that displays hierarchical data in the form of nested rectangles. This type of chart can be used in different scenarios, for example, instead of a column chart if you have to compare too many categories and sub-categories.

Adding Data

  1. In the CATEGORIES panel, click ADD+ to select the fields whose values will be represented as rectangles in the chart.

Typically, the CATEGORIES of a Treemap widget contain descriptive data.

You can add up to three fields, so that a rectangle hierarchy is created.

You can reorder the fields using drag and drop.

  1. In the SIZE panel, select the field whose values determine the size of the rectangles by clicking ADD +. VALUES are typically used to represent numeric data.

You can add only one field.

  1. In the COLOR panel, click ADD + to select the field to use as the color basis for your rectangles.

The following coloring scenarios are supported:

  • Color by a numeric value: If you choose a numeric value, then each rectangle will be colored according to its value in the field’s range of values. You can manipulate the coloring rules in the color formatting menu.
  • Color by field members: If you choose a field, then all rectangles that are members of that field will be colored the same. For example, if you choose to color by the field that is also used as the first category, then the entire Treemap will be split into groups of colors, like in the image at the top of this page. If you choose to color by the field that is used as the second category, then all rectangles that share the same value will also share the same color, as in the image below:

Note: You can only color by a field that is also used in the CATEGORIES panel. If you choose a field that is not there, it will be automatically added.

Designing the Treemap

Fine-tune the appearance of the TREEMAP widget, using the following tools.

  • CAPTIONS: Control which info is presented in the treemap. A checkbox will be visible for each field that is used in the CATEGORIES panel. Turning a field on/off will determine if the field member name will be visible inside the treemap. Note that this info will always be available in the tooltip when hovering over a rectangle, regardless of the on/off setting.
  • TOOLTIP: Select whether to show the actual value or contribution in the rectangle tooltip when hovering over it.