bb_data: Add data to Billboard chart

View source: R/bb_utils.R

bb_dataR Documentation

Add data to Billboard chart

Description

Add data to Billboard chart

Usage

bb_data(bb, ...)

Arguments

bb

A billboard htmlwidget object.

...

Arguments defined in https://naver.github.io/billboard.js/demo/.

Value

A billboard htmlwidget object.

Note

This function can be used with billboarderProxy in shiny application.

Examples

billboarder() %>%
 bb_barchart(data = table(mtcars$cyl)) %>%
 bb_data(names = list(Freq = "Number of cylinders"), labels = TRUE)
 

dreamRs/billboarder documentation built on Feb. 26, 2024, 1:17 p.m.