Expand description
StatTreemap: squarified treemap layout (Bruls, Huizing & van Wijk).
Each input row with a positive weight becomes one tile whose area is
proportional to that weight. With a subgroup mapping, groups are laid
out first (area = their summed weight) and each group’s rows are tiled
inside its rectangle (inset by group_padding). The layout fills
[0, aspect] × [0, 1].
Output: one row per tile (part = "tile", every input column carried
through, xmin/xmax/ymin/ymax, area = weight) followed — when
subgroups are mapped — by one row per group (part = "group", its
rectangle, subgroup, area = group total, fill = its first
member’s; other columns Na).
Structs§
- Stat
Treemap - Squarified treemap stat behind
GeomTreemap.