bb_treemap {billboarder}R Documentation

Treemap property for a Billboard.js chart

Description

Treemap property for a Billboard.js chart

Usage

bb_treemap(bb, ...)

Arguments

bb

A billboard htmlwidget object.

...

See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.treemap

Value

A billboard htmlwidget object.

Examples

library("billboarder")
data("mpg", package = "ggplot2")

billboarder() %>% 
  bb_treemapchart(mpg[, 1]) %>% 
  bb_treemap(label = list(show = TRUE, threshold = 0.03))%>% 
  bb_data(
    labels = list(colors = "#FFF")
  )

[Package billboarder version 0.4.1 Index]