View source: R/bind_bubble_chart_data.R
bind_bubble_chart_data | R Documentation |
Bind bubble chart data
bind_bubble_chart_data(
.,
data = NULL,
label = NULL,
color = NULL,
size = NULL,
axis_values = NULL,
image = NULL,
metadata = NULL
)
. |
The prior Flourish object. No need to specify name if piping graph as the graph will take the first argument (i.e. the prior existing graph). |
data |
Data. |
label |
Label |
color |
Color by. Used to color the bubbles. Flourish type hint: column |
size |
Size by. Value for bubble size. Flourish type hint: column |
axis_values |
Axis values. Values used to plot the bubbles when the bubbles are aligned on an axis. Flourish type hint: column |
image |
Image. Images for bubbles. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
metadata |
Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in custom popups and panels Flourish type hint: columns |
A Flourish chart
try(
flourish(chart_type = "bubble", api_key = Sys.getenv("FLOURISH_API_KEY")) |>
bind_bubble_chart_data(gapminder)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.