user438602
user438602

Reputation:

treemaps in R: alternatives to the portfolio package?

I would like to generate treemaps in R. Right now I am using the portfolio package, but the problem with this package is that there is not enough ways to control the output: text attributes like font, font size, color can not be controlled, borders between map squares with same color are not distinguishable, there is no control over the color gradient legend etc.

I am looking for a treemap library which allows for a more fine-grained control over the resulting appearance than the portfolio package.

Which alternatives are there to the portfolio package for making treemaps in R?

Upvotes: 4

Views: 1191

Answers (2)

New_code
New_code

Reputation: 614

To update the above question, there are also interactive treemaps available. Below two packages of possible interest:

library("highcharter") on CRAN
library("d3treeR") on Github

To learn more about the above packages see the links: Highcharter and d3treeR

Upvotes: 1

Martijn Tennekes
Martijn Tennekes

Reputation: 2051

You may want to check the treemap package, which I wrote. Many, if not all of your desired features have been implemented. If you have any questions or suggestions, please let me know.

Upvotes: 9

Related Questions