Edit Treemap Views

Treemaps organize hierarchical data by grouping the data into rectangles (known as tiles). Treemaps display tiles based on the size of one measure and the color of the second measure.

The following figure shows an example of a treemap view. The country names are grouped by region and area. This treemap shows the correlation of revenue for a country (based on average order size) across different regions for an area.

By default, the first measure of the analysis in the Criteria tab is selected as the Size By measure, and the second measure is selected as the Color By measure. If there is only one measure in the analysis, this measure is the default for both Size By and Color By options. Additionally, the Style element defaults to Percentile Binning with "quartile" as the value for the number of bins.

Treemaps have the following characteristics:

  • Tiles are colored by percentile bins or continuously.

  • First Group By dimension is displayed as the group (header) label.

  • The order of the Group By dimensions implies the nesting order within the treemap. The last dimension in the Group By is the lowest level and this dimension name is displayed as the tile label. If the label is too long to fit on the tile, then it’s truncated. Full values for the labels display in the tooltip.

  1. Open the analysis for editing.
  2. Click the Results tab.
  3. Click View Properties. You can set properties such as the following ones:
    • The size of the treemap.

    • Whether a legend is to be displayed to show the continuous color variations or binning for the treemap tiles.

    • The background color and fill of the legend.

    • The border colors of the groups and tiles.

  4. Click OK.
  5. Click Edit View to display the treemap view editor.
  6. In the Layout pane, select the Percentile Binning or Continuous Color Fill options to change the color palette of the view.
    • Use Percentile Binning to specify that the color of the tiles within the treemap is displayed as a percentile bin. In the Bins list, select the number of bins to display in the treemap. You can select an integer, Quartile (4), or Decile (10). Values range from 2 to 12. The number of bins selected corresponds to the number of colors in the treemap. For example: You create a treemap for Region and Area. You specify Revenue as the Size By measure and Avg Order Size as the Color By measure. Then, you select Percentile Binning as the Style with 4 (Quartile) bins. The First Quartile represents those areas within the region that are under performing for the average order size by revenue. The Binning Properties area displays the percentage for the bin based on a total of 100% and is calculated based on the number of bins selected. Each percentage is color-coded and corresponds to the Color selection.
    • Use Continuous Color Fill to specify that the tiles within the treemap are displayed as a gradient color scheme. The low value gradient color is the minimum value for the selected Color By measure. The high value gradient color is the maximum value for the selected Color By measure.
  7. Change the measures and attribute and hierarchal (excluding skip-level) columns to visualize the new data in more meaningful ways by using Group By, Size By, and Color By options.
  8. Click Done.