Style graphSankey

The style graphSanky builds upon the base style graph but cannot be replaced by the base style (as is the case for graphPie and graphBar). It offers functionality the base style cannot offer due to the special nature of Sankey diagrams.

A Sankey diagram is based on either statically uploaded data or dynamic user input data (collected from the style formUserInput). The diagram is computed from multiple data sets, i.e. table columns in static data or user input fields in dynamic data. For details refer to the descriptions of the fields value_types and form_field_names.

Unknown Style styleSignature

Sankey Diagram with Link Minimum Width

This example uses a default setting with the exception of the field min which is set to 10 in order to only show links if the link width is equal or bigger than 10.

Unknown Style graphSankey

Coloring the Links of the Sankey Diagram

The following examples show some different options with respect to link coloring. The fields link_alpha and link_color can be used for this purpose. The title of each diagram indicates the configuration of the two fields. Note that the colors of the nodes are defined with the field value_types.

Unknown Style graphSankey

Unknown Style graphSankey

Unknown Style graphSankey

Sankey Diagram with Default Node Position and Labels from Plotly

The following example illustrates a Sankey diagram when using the default configuration proposed by Plotly. This is achieved with enabling the field has_type_labels and disabling the fields has_field_labels and is_grouped.

Unknown Style graphSankey