Creating Treemap Charts


Treemap charts can be used to display large amounts of hierarchically structured data. Using a set of nested rectangles to illustrate data relationships, sections of a treemap represent branches of a tree.

Note: Treemap charts require at least one measure and one dimension, to be placed in the Size and Color buckets. Groups are determined by those fields specified in the Grouping bucket.

The Clear buckets content display option is available for a treemap. It removes the fields from all buckets.

You can add fields to the following buckets for a treemap:

  • Group. Enables you to specify dimension fields by which to present your data in nested categories or groups.
  • Size. Use a measure field to determine the size of boxes in the treemap.
  • Color. If a dimension field is used, creates boxes to contain values for the field in the Group bucket. If a measure field is used, applies a color scale to the boxes in the treemap.
  • Tooltip. The data placed in this bucket displays in the tooltip at run time. Can be used to make additional information available without changing the appearance of the chart.
  • Animate. Enables you to animate time progression using a slider control. As you move the control along the slider bar, an animation effect results. The slider control has a Play button that allows you to play and pause the animation. When you click Play, the Pause option is activated, enabling you to pause the progression and analyze your data. Slider controls are limited to one sort field and should be time or sequence related, such as month or year.
  • MultiPage. Enables the creation of multiple graphs based on the field that you place in this bucket.

Procedure: How to Create a Treemap Chart

  1. From the WebFOCUS Home Page, click the Designer tab, and then click Chart.
  2. Choose a data source and click Select.
  3. Add one measure, one dimension to the chart. Also, add a field into the Size and Color buckets.

    The treemap chart refreshes with your selections, as shown in the following image.

  4. You can perform the following tasks with your treemap chart:
    1. Add additional measures or dimensions to the chart, where applicable.
    2. Change the fields to obtain different information.
    3. Format the chart (for example, customize the header and footer or style the legend).
  5. Save your treemap chart.