Learn R Programming

billboarder (version 0.5.0)

bb_treemap: Treemap property for a Billboard.js chart

Description

Treemap property for a Billboard.js chart

Usage

bb_treemap(bb, ...)

Value

A billboard

htmlwidget object.

Examples

Run this code
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")
  )

Run the code above in your browser using DataLab