powered by
Bind svg annotator data
bind_svg_annotator_data( ., data = NULL, id = NULL, reveal_id = NULL, h1 = NULL, h2 = NULL, content = NULL, link = NULL, metadata = NULL )
A Flourish chart
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.
ID. A column of IDs of elements in the uploaded SVG file. Flourish type hint: column
Reveal layer. A column to reveal when layer is clicked. Flourish type hint: column
Heading 1. A column containing the main header. Flourish type hint: column
Heading 2. A column containing a secondary header. Flourish type hint: column
Content. A column containing text or HTML to display. Flourish type hint: column
Link. A URL that can be opened when a layer is clicked. Any reveal layers or popups will be overridden. Flourish type hint: column
Info for popups. One or more columns to display in popups and panels. Flourish type hint: columns
try( flourish(chart_type = "svg_annotator", api_key = Sys.getenv("FLOURISH_API_KEY")) |> bind_svg_annotator_data(gapminder) )
Run the code above in your browser using DataLab