Binding additional data sources
Bind functionsBind audio dataBind bar chart race dataBind bubble chart dataBind calculator dataBind cards dataBind chord diagram dataBind draw the line chart dataBind election results chart dataBind gantt chart dataBind gauge dataBind hierarchy dataBind line chart race dataBind interactive svg dataBind line, bar and pie charts dataBind marimekko dataBind network graph dataBind parliament chart dataBind pictogram dataBind quiz dataBind radar chart dataBind sankey diagram dataBind scatter dataBind slope chart dataBind sports dataBind sports race dataBind survey dataBind svg annotator dataBind table dataBind text annotator dataBind timeline dataBind tournament dataBind word cloud data
Bind cards data
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 |