Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bb_bubble

Bubble property for a Billboard.js chart


Description

Bubble property for a Billboard.js chart

Usage

bb_bubble(bb, ...)

Arguments

Value

A billboard htmlwidget object.

Examples

billboarder() %>% 
  bb_scatterplot(
    data = iris, 
    mapping = bbaes(Sepal.Length, Sepal.Width, group = Species, size = Petal.Width)
  ) %>% 
  bb_bubble(maxR = 10)


billboarder() %>% 
  bb_scatterplot(
    data = iris, 
    mapping = bbaes(Sepal.Length, Sepal.Width, group = Species, size = Petal.Width)
  ) %>% 
  bb_bubble(maxR = JS("function(d) {return Math.sqrt(d.value.z * 20);}"))

billboarder

Create Interactive Chart with the JavaScript 'Billboard' Library

v0.3.1
MIT + file LICENSE
Authors
Victor Perrier [aut, cre], Fanny Meyer [aut], NAVER Corp [cph] (billboard.js library), Mike Bostock [cph] (d3.format library)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.