The flourishcharts packages are provided by Canva as open source software under the MIT license(opens in a new tab or window).

Bind interactive svg data

Usage

def bind_interactive_svg_data(
self,
id: str = None,
reveal_id: str = None,
h3: str = None,
h4: str = None,
content: str = None,
link: str = None,
metadata: Union[list, str] = None
)
PYTHON
bind_interactive_svg_data(
.,
id = NULL,
reveal_id = NULL,
h3 = NULL,
h4 = NULL,
content = NULL,
link = NULL,
metadata = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
id
str, optional
ID. A column of IDs of elements in the uploaded SVG file. Flourish type hint: column
reveal_id
str, optional
Reveal layer. A column to reveal when layer is clicked. Flourish type hint: column
h3
str, optional
Heading 1. A column containing the main header. Flourish type hint: column
h4
str, optional
Heading 2. A column containing a secondary header. Flourish type hint: column
content
str, optional
Content. A column containing text or HTML to display. Flourish type hint: column
link
str, optional
Link. A URL that can be opened when a layer is clicked. Any reveal layers or popups will be overridden. Flourish type hint: column
metadata
Union[list, str], optional
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
Arguments
Description
.
Returns the Flourish object
id
ID. A column of IDs of elements in the uploaded SVG file. Flourish type hint: column
reveal_id
Reveal layer. A column to reveal when layer is clicked. Flourish type hint: column
h3
Heading 1. A column containing the main header. Flourish type hint: column
h4
Heading 2. A column containing a secondary header. Flourish type hint: column
content
Content. A column containing text or HTML to display. Flourish type hint: column
link
Link. A URL that can be opened when a layer is clicked. Any reveal layers or popups will be overridden. 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