Treemap Chart

  • Last update:January 19, 2025
  • Overview

    Application Scenario

    The treemap chart is used to describe the proportional relationship of hierarchical data, and can display the data of lower levels through drilling down. It uses rectangles to represent the hierarchical nodes, and the parent-child relationship is expressed by nesting matrices.

    Starting from the root node, the space is divided into multiple rectangles according to the number of corresponding sub-nodes, and the sizes of the rectangles are decided by the node attributes. Each rectangle is recursively divided according to the sub-nodes of the corresponding node until the leaf node is reached.

    The treemap chart is suitable for presenting data with hierarchical relationships and can intuitively reflect comparisons between the data at the same levels. The following figure shows the display effect.

    预览.gif

    iconNote:
    When Use Label is selected, if the rectangle is too small, the label will not be displayed.

    Chart Feature

    Advantage: With more compact graphics, the chart can display more information compared with other charts with the same size canvas, which can show the weight between members.

    Disadvantage: The treemap chart is not intuitive or clear enough, not as clear as tree diagrams, and not easy to arrange when the category proportion is too small.

    Attribute Description

    Type

    When inserting a chart as a cell element or a floating element, select Treemap Chart as the chart type, as shown in the following figure.

    image 1.png

    Data

    The following figure shows the settings of binding data to the treemap chart.

    • Data Source: Dataset data and Cell Data are available for the treemap chart.

    • Index Name: If you select Use Tooltip under Style Prompt, the text message will be displayed when you hover the cursor over a rectangle of the treemap chart.

    • Level Quantity: Set the drilling level of the treemap here, which is 1 by default, match the level below.

    • Level: The number of Level Quantity corresponds to the number of levels.

    • Value: The value configured here affects the size of each rectangle.

    • Summary: You can select First, Last, Sum (default value), AverageMaximum, Minimum, or Count.

    image 2.png

    Style

    For details about the style design of the treemap chart, see Chart Style.

    UnderStyle> Series > Drill, you can select On or Off to enable or disable the function, as shown in the following figure.

    image 3.png

    Special Effect

    For details about the Special Effect setting of the treemap chart, see Chart Special Effect.

    Example

    Data Preparation

    Create a built-in dataset named Android, as shown in the following figure.

    image 4.png

    Chart Insertion

    Merge required cells, right-click cell A1, choose Cell Element > Insert Chart > Treemap Chart, and click OK, as shown in the following figure.

    image 5.png

    Data Binding

    Select the chart, select Data, set Level Quantity to 2, and the specific setting is shown in the following figure.

    iconNote:
    The number of Level Quantity is limited to 1~15. When changing the number of Level Quantity, the corresponding level options below will also reduce or increase accordingly.

    image 6.png 

    Effect Display

    1. PC

    Save the template and click Pagination Preview. The following figure shows the preview effect.

    预览.gif

    2. Mobile Terminal

    iconNote:
    If you have enabled the Drill function of the treemap chart, there may be a flickering effect when drilling down in the mobile preview. Disabling the Drill function can solve this problem.

    6bb2fa179f178500a147e53413b4dd4.jpg

    Template Download

    For details, you can click to download the template Treemap Chart.cpt.

    Attachment List


    Theme: Chart
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy