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

Bind sports race data

Usage

def bind_sports_race_data(
self,
name: str = None,
times: Union[list, str] = None,
start_image: str = None,
race_image: str = None,
finish_image: str = None,
color_category: str = None
)
PYTHON
bind_sports_race_data(
.,
name = NULL,
times = NULL,
start_image = NULL,
race_image = NULL,
finish_image = NULL,
color_category = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
name
str, optional
Name. Name of competitor. Flourish type hint: column
times
Union[list, str], optional
Times. One or more columns of numbers, representing splits or laps, or a whole race. Flourish type hint: columns
start_image
str, optional
Start image. The image to use at the start of the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
race_image
str, optional
Racing image. The image to use while a participant is racing. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
finish_image
str, optional
Finish image. The image to use when the participant has finished the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
color_category
str, optional
Color category. Add a category to color participants by. If empty, the name column will be used for colors. Flourish type hint: column
Arguments
Description
.
Returns the Flourish object
name
Name. Name of competitor. Flourish type hint: column
times
Times. One or more columns of numbers, representing splits or laps, or a whole race. Flourish type hint: columns
start_image
Start image. The image to use at the start of the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
race_image
Racing image. The image to use while a participant is racing. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
finish_image
Finish image. The image to use when the participant has finished the race. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column
color_category
Color category. Add a category to color participants by. If empty, the name column will be used for colors. Flourish type hint: column