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. A treemap is shown in the following image.


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 following content display options are available for a treemap:

  • Calculation options:
    • Summaries. Sums measure values for each sort value. This is the default.
    • Counts. Provides a count of records in the selected measure field, for each sort value.
    • Details. Displays the value of each individual record.
  • Clear buckets content. Empties 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. The MultiPage bucket is available for stand-alone charts. If you convert the chart to a page created from new content, the MultiPage bucket disappears.

Procedure: How to Create a Treemap Chart

  1. Open WebFOCUS Designer. On the WebFOCUS start page, click the plus menu and then click Create Visualizations, or, on the WebFOCUS Home Page, click Visualize Data.

    WebFOCUS Designer opens in a new browser tab.

  2. Select a workspace and a data source available from that workspace.

    Once you select a data source, WebFOCUS Designer loads with options to create a single content item.

  3. On the Content picker, change the chart to a treemap chart.
  4. 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.

  5. 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).
  6. Save your treemap chart.