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

Usage

def bind_cards_data(
self,
title: str = None,
image: str = None,
category: str = None,
subtitle: str = None,
text: Union[list, str] = None,
audio: str = None,
filter: str = None,
metadata: Union[list, str] = None
)
PYTHON
bind_cards_data(
.,
title = NULL,
image = NULL,
category = NULL,
subtitle = NULL,
text = NULL,
audio = NULL,
filter = NULL,
metadata = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
title
str, optional
Title. Suggested data type hints: string. Flourish type hint: column
image
str, optional
Image. Suggested data type hints: string. Flourish type hint: column
category
str, optional
Categories. Optional category column to color the cards. Suggested data type hints: string. Flourish type hint: column
subtitle
str, optional
Subtitle. Suggested data type hints: string. Flourish type hint: column
text
Union[list, str], optional
Text. Suggested data type hints: string. Flourish type hint: columns
audio
str, optional
Audio. Add an audio file to the card, which will play when the card is clicked. This will disable popup behavior. Suggested data type hints: string. Flourish type hint: column
filter
str, optional
Filter. Suggested data type hints: string, number, datetime. 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 panelsSuggested data type hints: string, number, datetime. Flourish type hint: columns
Arguments
Description
.
Returns the Flourish object
title
Title. Suggested data type hints: string. Flourish type hint: column
image
Image. Suggested data type hints: string. Flourish type hint: column
category
Categories. Optional category column to color the cards. Suggested data type hints: string. Flourish type hint: column
subtitle
Subtitle. Suggested data type hints: string. Flourish type hint: column
text
Text. Suggested data type hints: string. Flourish type hint: columns
audio
Audio. Add an audio file to the card, which will play when the card is clicked. This will disable popup behavior. Suggested data type hints: string. Flourish type hint: column
filter
Filter. Suggested data type hints: string, number, datetime. 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 panelsSuggested data type hints: string, number, datetime. Flourish type hint: columns