Document toolboxDocument toolbox

Treemap Chart

Displays hierarchical data as a set of nested rectangles. Use dimensions to define the structure of the treemap and measures to define the size or color of the individual rectangles. Use color and size dimensions correlated in some way with the tree structure to see patterns that would be difficult to spot in other ways. Both the size and color are determined by a value, for example, Sales. The greater the sum of sales for each category, the darker and larger the box.

Migration of Treemap charts from D3 to Amchart 5

From Kyvos 2024.1 onwards, the Treemap charts are migrated from the D3 library to Amchart 5. With this migration, users can now select layouts in Treemap charts within Kyvos Visualization for worksheets. These layouts include Square, Horizontal, Vertical, and Horizontal then Vertical.

  • Square (default layout)- It divides an area into rectangles optimized to be as square as possible, with the rectangle sizes determined by a set of values.

  • Horizontal - This algorithm slices the horizontal space between items based on their values.

  • Vertical -This layout algorithm divides the available space vertically based on the value of the items.

  • Horizontal then Vertical - This layout is evident when the dimension is dropped to color and detail shelves. This algorithm divides the space between items by slicing them horizontally and vertically, depending on the value of the item. This layout is visible in the resulting color blocks, where each data point is sliced horizontally and each block is sliced vertically.

To select layout for Treemap charts, perform the following steps.

  1. From the Toolbox, add a worksheet and then select a semantic model from the list. Similarly, you can also select an existing worksheet.

  2. Ensure that the Design tab is selected.

  3. Select the Treemap chart type from the View Type list.

  4. In the Dimension column, select the dimension and drag and drop it to the required shelf.

  5. In the Measures column, select the measures and drag and drop it to the required shelf. Then, from the Properties in the right-side pane, choose the required layout from the Select Layout list.

    • Square

    • Horizontal

    • Vertical

    • Horizontal then Vertical

       

Copyright Kyvos, Inc. All rights reserved.