Learn R Programming

billboarder (version 0.5.2)

bb_svg: SVG property for a Billboard.js chart

Description

SVG property for a Billboard.js chart

Usage

bb_svg(bb, ...)

Value

A `billboard` `htmlwidget` object.

Arguments

bb

A `billboard` `htmlwidget` object.

...

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

Examples

Run this code
# Set SVG class name
billboarder() %>%
  bb_linechart(data = c(2, 5, 3, 4, 6)) %>%
  bb_svg(classname = "custom-billboard")

Run the code above in your browser using DataLab