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);}"))
Run the code above in your browser using DataLab