9.3.7.40 The (Plot Details) Layout Tab for Treemap

This tab is used to do the layout settings for the treemap diagram.

Layout Tab for Treemap 01.png

Layout

There are 6 layouts available to arrange the node rectangles for each levels:

  • Split: Arranges the rectangles according to the value ordering of the levels/values of the X variable.
  • Squarified: Arrange all rectangles in descending order base on size column(summary statistic). This places the largest rectangles in the top left corner of the plot and the smallest in the bottom right corner.
  • Squarified+:Improved Squarified for better aspect ratio without too slow. It is basically same as Squarified, but when a row is decided, it compare the current row direction with the alternate row direction. Choice the better row direction after comparing the aspect ratio.
  • Pivot by Size/Middle/Split Size: The squarified treemap algorithm produces good aspect ratios, but ignores the sorting order of the rectangles. The ordered treemap, pivot by Size/Middle/Split Size algorithm takes the sorting order into account while aspect ratios are still acceptable.
    • Pivot by Size: Pivot is largest item in the list, Average aspect ratio is better.
    • Pivot by Middle: Pivot is the middle item of the list. (If the list ontains n items, the pivot will be the item with index n/2). This algorithm is more stable.
    • Pivot by Split Size: The pivot will split the list into approxiaamately equal total areas. This layout is more balanced.

Order

You can choose how to order the rectangles, Categorical Order, Alphabetical Order, by Size or by Column(specify another data column).

The Squarified and Squarified+ layout only support order the nodes by size.

Depth

Specify the treemap of which levels will show. Depth=1 means only show the treemap of 1st level. Depth=N means only show the treemap of first N levels. Infinite means show the treemap of all levels.

Gap between Levels

Specfy the gap for the rectangles.

Custom Layout Per Levels

You can check this control group to customize the layout for different levels seperately, except the first level.

Layout Tab for Treemap 02.png

The Layout and Order control in the opened Edit dialog are the same as above.