jjtreemap | R Documentation |
'Creates treemap visualizations for categorical data'
jjtreemap(
data,
group,
size,
color,
aspectRatio = 1.67,
borderWidth = 0.7,
labelLevel1Size = 15,
labelLevel2Size = 12,
labelLevel1Color = "white",
labelLevel2Color = "black",
labelFontFace = "normal",
labelBackground = "transparent",
labelAlignH = "center",
labelAlignV = "center",
labelOverlap = 0.5,
title = "",
subtitle = "",
caption = ""
)
data |
The data as a data frame. |
group |
. |
size |
. |
color |
. |
aspectRatio |
. |
borderWidth |
. |
labelLevel1Size |
. |
labelLevel2Size |
. |
labelLevel1Color |
. |
labelLevel2Color |
. |
labelFontFace |
. |
labelBackground |
. |
labelAlignH |
. |
labelAlignV |
. |
labelOverlap |
. |
title |
. |
subtitle |
. |
caption |
. |
A results object containing:
results$todo | a html | ||||
results$plot | an image | ||||
# example will be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.