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

Bind network graph data

Usage

def bind_network_graph_data(
self,
links_source: str = None,
links_target: str = None,
links_value: str = None,
nodes_id: str = None,
nodes_group: str = None,
nodes_size: str = None,
nodes_image: str = None,
nodes_metadata: Union[list, str] = None
)
PYTHON
bind_network_graph_data(
.,
links_source = NULL,
links_target = NULL,
links_value = NULL,
nodes_id = NULL,
nodes_group = NULL,
nodes_size = NULL,
nodes_image = NULL,
nodes_metadata = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
links_source
str, optional
Links source
links_target
str, optional
Links target
links_value
str, optional
Size by. A numerical value used to set the thickness of the links. Flourish type hint: column
nodes_id
str, optional
ID. A unique identifier for each point in the network. If not specified, point information will be extracted from the links sheet. Flourish type hint: column
nodes_group
str, optional
Color by. A group to which the point belongs. If set, can be used to color the points. Ignored if ID not set. Flourish type hint: column
nodes_size
str, optional
Size by. A numerical value used to size the points. Ignored if ID not set. Flourish type hint: column
nodes_image
str, optional
Image. An image to go into the circle. Flourish type hint: column
nodes_metadata
Union[list, str], optional
Info for popups. One or more columns of information (text, image URLs , embedded charts etc) to include in popups and panels Ignored if ID not set. Flourish type hint: columns
Arguments
Description
.
Returns the Flourish object
links_source
Links source
links_target
Links target
links_value
Size by. A numerical value used to set the thickness of the links. Flourish type hint: column
nodes_id
ID. A unique identifier for each point in the network. If not specified, point information will be extracted from the links sheet. Flourish type hint: column
nodes_group
Color by. A group to which the point belongs. If set, can be used to color the points. Ignored if ID not set. Flourish type hint: column
nodes_size
Size by. A numerical value used to size the points. Ignored if ID not set. Flourish type hint: column
nodes_image
Image. An image to go into the circle. Flourish type hint: column
nodes_metadata
Info for popups. One or more columns of information (text, image URLs , embedded charts etc) to include in popups and panels Ignored if ID not set. Flourish type hint: columns