Learn R Programming

flourishcharts (version 1.0.0.3)

bind_bubble_chart_data: 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
)

Value

A Flourish chart

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

Examples

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

Run the code above in your browser using DataLab