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>.
Version: |
0.1.3 |
Depends: |
R (≥ 3.5.0) |
Imports: |
colorspace, dplyr, grid, lattice, methods, Rcpp, scales, sf, sp, tibble |
LinkingTo: |
BH, Rcpp, RcppCGAL |
Suggests: |
knitr, parallel, rmarkdown |
Published: |
2024-11-04 |
DOI: |
10.32614/CRAN.package.WeightedTreemaps |
Author: |
Michael Jahn
[aut, cre],
David Leslie [aut],
Ahmadou Dicko
[aut],
Paul Murrell
[aut, cph] |
Maintainer: |
Michael Jahn <jahn at mpusp.mpg.de> |
BugReports: |
https://github.com/m-jahn/WeightedTreemaps/issues |
License: |
GPL-3 |
URL: |
https://github.com/m-jahn/WeightedTreemaps |
NeedsCompilation: |
yes |
SystemRequirements: |
C++17 |
Materials: |
README NEWS |
CRAN checks: |
WeightedTreemaps results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=WeightedTreemaps
to link to this page.