bind_bubble_chart_data: Bind bubble chart data

View source: R/bind_bubble_chart_data.R

bind_bubble_chart_dataR Documentation

Bind bubble chart data

Description

Bind bubble chart data

Usage

bind_bubble_chart_data(
  .,
  data = NULL,
  label = NULL,
  color = NULL,
  size = NULL,
  axis_values = NULL,
  image = NULL,
  metadata = NULL
)

Arguments

.

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

Value

A Flourish chart

Examples

try(
  flourish(chart_type = "bubble", api_key = Sys.getenv("FLOURISH_API_KEY")) |> 
  bind_bubble_chart_data(gapminder)
)

flourishcharts documentation built on Oct. 30, 2024, 9:07 a.m.