bind_text_annotator_data: Bind text annotator data

View source: R/bind_text_annotator_data.R

bind_text_annotator_dataR Documentation

Bind text annotator data

Description

Bind text annotator data

Usage

bind_text_annotator_data(., data = NULL, text = NULL, note = 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.

text

Text. The piece of text you want to highlight. Note that text is case and space sensitive. Flourish type hint: column

note

Annotation. The annotation content. Flourish type hint: column

Value

A Flourish chart

Examples

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

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