Working with Treemaps

About Treemaps

A treemap displays a hierarchy or a category as a set of rectangular tiles. Each tile in the treemap represents a category value or a hierarchy node. The size of each tile can represent either the frequency count or the value of a measure. If you assign a measure to the Color data role, then the color of each tile represents the value of that measure.

Specify Properties for a Treemap

On the Properties tab, you can specify the following options:
Name
specifies the name of the visualization.
Title
specifies the title that appears above the graph.
Note: The Title option is disabled if you select Generate graph titles.
Generate graph titles
specifies that the graph title is generated automatically based on the data items in the visualization.
Show data labels
shows a text label for each tile in the treemap.
Frequency
specifies whether the frequency values represent the number of values (Count) or the percentage of values (Percent).
Arrangement
specifies how the layout of the tiles in the treemap. Select one of the following values:
Standard
attempts to arrange the tiles into squares, with the largest tiles generally at the bottom left.
Flow
arranges the tiles from largest to smallest, with the largest tile at the top left.
Toggle
arranges the tiles into a single row or column, with the largest tile on the left or at the top.
The orientation of the tiles alternates between hierarchy levels. The top level is arranged as a row, the second level is a column, and so on.
Additional levels
specifies the number of levels that are displayed beneath the current level.
Color gradient
selects the gradient colors for the visualization.

Data Roles for a Treemap

The basic data roles for a treemap are:
Tile
specifies categories or a hierarchy that is used to create the tiles in the treemap. If you specify categories for the Tile role, the order of the categories determines the level of each category. Drag and drop the categories to place them in the order that you want.
Size
specifies a measure that determines the size of each tile. If you do not specify the Size role, then the tile size is determined by the frequency count.
Note: If any of the aggregated values for the Size role result in a negative size value or a value of zero, then an error appears.
Color
specifies a measure that determines the color of the tiles.