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

Bind slope chart data

Usage

def bind_slope_chart_data(
self,
id: str = None,
values: Union[list, str] = None,
line_thickness: str = None,
filter: str = None,
color_category: str = None,
facet: str = None,
metadata: Union[list, str] = None
)
PYTHON
bind_slope_chart_data(
.,
id = NULL,
values = NULL,
line_thickness = NULL,
filter = NULL,
color_category = NULL,
facet = NULL,
metadata = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
id
str, optional
Name. The name of the data series (eg. voting district, data mode). Flourish type hint: column
values
Union[list, str], optional
Values. Values for that data series (eg. % of votes). Flourish type hint: columns
line_thickness
str, optional
Line thickness. Values for the thickness of line. Flourish type hint: column
filter
str, optional
Filter. Suggested data type hints: string, number, datetime. Flourish type hint: column
color_category
str, optional
Color category
facet
str, optional
Facet
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 Suggested data type hints: string, number, datetime. Flourish type hint: columns
Arguments
Description
.
Returns the Flourish object
id
Name. The name of the data series (eg. voting district, data mode). Flourish type hint: column
values
Values. Values for that data series (eg. % of votes). Flourish type hint: columns
line_thickness
Line thickness. Values for the thickness of line. Flourish type hint: column
filter
Filter. Suggested data type hints: string, number, datetime. Flourish type hint: column
color_category
Color category
facet
Facet
metadata
Info for popups. One or more columns of information (text, image URLs, embedded charts etc) to include in custom popups and panels Suggested data type hints: string, number, datetime. Flourish type hint: columns