Elsevier

Computational Geometry

Volume 47, Issue 6, August 2014, Pages 683-693
Computational Geometry

Treemaps with bounded aspect ratio

https://doi.org/10.1016/j.comgeo.2013.12.008Get rights and content
Under an Elsevier user license
open archive

Abstract

Treemaps are a popular technique to visualize hierarchical data. The input is a weighted tree T where the weight of each node is the sum of the weights of its children. A treemap for T is a hierarchical partition of a rectangle into simply connected regions, usually rectangles. Each region represents a node of T and its area is proportional to the weight of the corresponding node. An important quality criterion for treemaps is the aspect ratio of its regions. One cannot bound the aspect ratio if the regions are restricted to be rectangles. In contrast, polygonal partitions, that use convex polygons, can have bounded aspect ratio. We are the first to obtain convex partitions with optimal aspect ratio O(depth(T)). However, depth(T) still depends on the input tree. Hence we introduce a new type of treemaps, namely orthoconvex treemaps, where regions representing leaves are rectangles, L-, and S-shapes, and regions representing internal nodes are orthoconvex polygons. We prove that any input tree, irrespective of the weights of the nodes and the depth of the tree, admits an orthoconvex treemap of constant aspect ratio. We also obtain several specialized results for single-level treemaps, that is, treemaps where the input tree has depth 1.

Keywords

Convex treemap
Orthoconvex treemap
Aspect ratio

Cited by (0)

A preliminary version of this paper appeared in the Proceedings of the 22nd International Symposium on Algorithms and Computation, Lect. Notes Comput. Sci., vol. 7074, Springer, 2011, pp. 260–270.

1

Research supported by the Netherlands Organisation for Scientific Research (NWO) under project No. 639.022.707.