Learn R Programming

billboarder (version 0.5.0)

bb_data: Add data to Billboard chart

Description

Add data to Billboard chart

Usage

bb_data(bb, ...)

Value

A billboard

htmlwidget object.

Arguments

bb

A billboard htmlwidget object.

...

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

Examples

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

Run the code above in your browser using DataLab