WeightedTreemaps: Generate and Plot Voronoi or Sunburst Treemaps from Hierarchical Data

Treemaps are a visually appealing graphical representation of numerical data using a space-filling approach. A plane or 'map' is subdivided into smaller areas called cells. The cells in the map are scaled according to an underlying metric which allows to grasp the hierarchical organization and relative importance of many objects at once. This package contains two different implementations of treemaps, Voronoi treemaps and Sunburst treemaps. The Voronoi treemap function subdivides the plot area in polygonal cells according to the highest hierarchical level, then continues to subdivide those parental cells on the next lower hierarchical level, and so on. The Sunburst treemap is a computationally less demanding treemap that does not require iterative refinement, but simply generates circle sectors that are sized according to predefined weights. The Voronoi tesselation is based on functions from Paul Murrell (2012) <https://www.stat.auckland.ac.nz/~paul/Reports/VoronoiTreemap/voronoiTreeMap.html>.

Package details

AuthorMichael Jahn [aut, cre] (<https://orcid.org/0000-0002-3913-153X>), David Leslie [aut], Ahmadou Dicko [aut] (<https://orcid.org/0000-0002-9654-7582>), Dunipace Eric [aut] (<https://orcid.org/0000-0001-8909-213X>), Paul Murrell [aut, cph] (<https://orcid.org/0000-0002-3224-8858>)
MaintainerMichael Jahn <jahn@mpusp.mpg.de>
LicenseGPL-3
Version0.1.4
URL https://github.com/m-jahn/WeightedTreemaps
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("WeightedTreemaps")

Try the WeightedTreemaps package in your browser

Any scripts or data that you put into this service are public.

WeightedTreemaps documentation built on April 3, 2025, 9:27 p.m.