How to Use the Treemap


To apply coloring:

  1. On the authoring bar, click to open the Data in analysis flyout.

  2. In the flyout, drag the column you want to color by to the center of the visualization.

    Response: Drop targets are shown in the middle of the visualization.

  3. Drop the column on the Color target.

    Response: The rectangles in the treemap will be colored according to the chosen column.

    Comment: To learn more about coloring in Spotfire, see Coloring Overview.

To create a treemap hierarchy:

  1. In the legend, click the column selector for Hierarchy to open the drop-down list.

    Comment: The hierarchy settings can also be defined on the Hierarchy page of the Visualization Properties dialog.

  2. Select the column you want to use as the top level of the treemap hierarchy.

    Response: The treemap will instantly be divided into rectangles representing the categories in the chosen column.

  3. Click the plus sign next to the previously used column selector.

  4. From the drop-down list, select the column that you want to use as the next level in the treemap hierarchy.

    Response: Rectangles representing the categories in the chosen column will be added inside the rectangles of the level immediately above in the treemap hierarchy.

  5. Repeat steps 3 and 4 for every level that you want to add to the treemap hierarchy.

    Comment: You can add columns to the treemap hierarchy and change the order of the hierarchy levels by using drag-and-drop in the legend. To learn more, see Drag-and-Drop.

    Note: You can also use a preconfigured hierarchy as a treemap hierarchy by creating a hierarchy in the Column Properties dialog, or by adding a hierarchy from the Filters panel. For more information about creating hierarchies in Spotfire, see How to Edit Column Properties and Creating a Hierarchy Filter.

To navigate to different levels in a treemap:

  1. Right-click the treemap to display the pop-up menu.

  2. From the pop-up menu, select Navigate To.

  3. Select the hierarchy level you want to navigate to.

    Comment: If the hierarchy headers are visible, you can also click on a hierarchy header to navigate to that level.

    Note: You can navigate upwards in a hierarchy by clicking a category from the path of levels in the uppermost header of the treemap. To go to the top level, click (All).

To create a new treemap:

  1.  On the authoring bar, click    to open the Visualization types flyout.

  2. Drag the Treemap visualization to the wanted position on the analysis page.

    Response: A first attempt to set up a suitable treemap is made.

  3. Adjust the treemap to display the data of your choice.

See also:

What is a Treemap?

Treemap Properties