NEWS
treemap 2.4-4 (2023-05-25)
treemap 2.4-3 (2021-08-22)
- xlab.labels and ylab.labels support lists (which enable users to modify specific labels)
- added reverse.legend
- fixed several bugs (see github)
treemap 2.4-2 (2017-01-03)
- added format.legend argument to control legend number formatting
- fixed data.table warning
treemap 2.4-1 (2016-03-26)
- fixed bug related to sortID
- updated GNI data
treemap 2.4 (2015-10-14)
- added mapping argument to support manual palette mappings (see new vignette)
- added standard error aggregations
- added draw argument to prevent drawing
- aggregation function can be specified (e.g. weighted.mean)
- compatible with tbl_df and tbl_dt
treemap 2.3 (2015-06-26)
- added argument n, number of categories
- added mirror.x and .y
- fixed treegraph bug (changed vertex.layout argument)
- dplyr objects work with treemap
- fixed bug in comparison treemap with specified range
- fixed treecolors and itreemap warning messages
treemap 2.2 (2014-03-31)
- added treecolors, a function to experiment with Tree Colors
- improved treegraph: added layout options
- added random.hierarchical.data
treemap 2.1-1 (2013-12-05)
- minor fix: for compatibility with R<3.0.0, rep_len is replaced by rep(..., length.out=)
treemap 2.1 (2013-11-21)
- itreemap added, a web-interface (made with shiny) added
- treepalettes added, to make hierarchical color palettes directly available
- treegraph added, to draw a radial tree with colors from treepalettes
- hierarchical color palettes method slightly improved (brighter)
- border line thickness (border.lwds) added as parameter to adjust line thickness at variaous agggregation levels
- improved text color decision (black or white) given the background color
- fontfamily parameters added (thanks to Peter Ellis)
- border.col parameter added (thanks to Peter Ellis)
- type "value" has evolved into two options: "value", which is now focused on diverging color palettes, and "manual" in which a palette is directly mapped to the provided range.
- bug in type "comp" fixed
- bug in quantitative scales fixed
- enhanced treemap output: added columns colorvalue and color, aspect ratio, and range
- improved business test data set (removed redundant colums)
- add version number of required data.table package to prevent conflicts
treemap 2.0-1
- computation time examples shorter (CRAN policy)
treemap 2.0
- main function migrated to treemap
- treemap types revised: two new types added: "color", by which users are able to provide custom colors to each rectangle, and "index" (which different from the "index" in prior versions which is now renamed to "depth"). The new "index" type hierarchically assigns a color for each category in the index-tree (defined by the index variables). Treemap type "linked" removed, since it is obsolete by "categorical" type in combination of argument vp (see below).
- color palette "HCL" added, which picks colors from the HCL color space. Applicable for "index", "depth" and "categorical". Additional arguments added to fully control color picking method.
- vp argument added, to place treemap inside a grid.viewport. Useful for custom made visualizations or small multiples.
- small multiples not directly facilitated anymore, since it can easily be done with the vp argument.
- invisible treemap output redefined
- aggregation method (under the engine) re-implemented
- businness statistics example dataset replaced. The new dataset contains four hierarchical levels.
- bug in value-type color assignment fixed
- color palette mapping improved
- label overlapping improved: added overlap.labels argument
- fixed bug in color scaling number
treemap 1.1-2
- no dependencies anymore, only imports
treemap 1.1-1 (2012-07-10)
- improved value treemap (better color range)
- added new example dataset: GNI2010
- fixed bug with character variables as index variables
- fixed bug with non-factor variables as categorical variable
treemap 1.1
- added categorical treemap type (each category has own color)
- added position.legend argument, which determines whether legend is placed: "bottom", "right", or "none"
treemap 1.0-4 (2012-04-05)
- two bugs fixed (category labels were not shown, and sorting order was sometimes neglected)
- aspect ratio control added (argument aspRatio)
treemap 1.0-3 (2012-03-29)
- faster aggregation (using data.table instead of plyr)
- treemap types rearranged: also added type "index"
- second layout algorithm implemented: squarified treemaps
- more possibilities added to tweak font sizes
- argument na.rm added in case there are missing values during aggregation
treemap 0.11-1
- updated examples of tmPlot
treemap 0.11 (2012-02-27)
- added treemap type "value", which means that values of the color variable are directly mapped to the color palette. This type is mostly used for the Map of the Market kind of treemaps, with negative values colored red, zeros yellow, and positive values green.
- added the possibility to use own palettes
- added parameters to tweak the font sizes
- cleaned up the code