Skip to main content

Celonis Product Documentation

Sankey chart component

A Sankey chart (or Sankey diagram) is a type of flow diagram in which the width of the arrows (or paths) is proportional to the flow quantity they represent. Sankey charts are useful for visualizing how resources, information, or data move through a process, and where losses, inefficiencies, or splits occur.

In Studio Views, Sankey charts are configured using at least two dimensions and one metric (connector width). In this example, a Sankey chart is configured to track the shipping mode used for orders of each product category.

This is configured using:

  • Dimensions: Ship mode, Product category

  • Metric: Order count ID

example_of_a_sankey_chart_without_config.jpg
Benefits of using a Sankey chart

Using a Sankey chart in your Studio Views can bring the following benefits:

  • Process flow clarity: Sankey charts make it easier to understand how a process behaves end-to-end. You can immediately see major pathways and bottlenecks. If one branch suddenly narrows (indicating a drop in flow), you can pinpoint where issues or delays happen.

  • Track volume or frequency: Sankey charts can show how often different paths are taken, which helps with optimizing workflows.

  • Compare variants: Sankey charts help identify process variants—like where users deviate from the standard process—and how frequently each variant occurs.

Configuring a Sankey chart component

The Sankey chart component can be dragged and dropped into your View, giving you the following options to configure:

  • First dimension: Use the PQL editor to add the dimension displayed on the left of the chart. In our example, we've selected the shipping mode used for orders.

    first_dimension_highlighted.jpg
  • Second dimension: Use the PQL editor to add the second dimension, the one that runs from the first dimension configured. In our example, we've selected the product category.

    second_dimension_highlighted.jpg
  • Connector width shows: Using the PQL editor to configure what the width of each connector / bar shows in your Sankey chart. In our example, we've selected the volume of orders received per shipping mode / product category.

  • Additional dimensions: You can include additional dimensions, which will be displayed as additional nodes for added context. In our example, we've included the product sub-categories.

    additional_dimension_highlighted.jpg
  • Data settings: Choose how many categories you want to display in your chart. In our example, we've limited this to 5 categories.

  • Alternative display options: Based on your configuration, you may be prompted to try displaying your data using other Studio component types. If you select an alternative type, any configurations made to your Sankey chart component will be reset to default.

  • Interactions: Enable and disable whether users can set temporary filters when interacting with that component. For more information, see: Temporary filters for Apps.

    • Exclude from user filtering: When enabled, this prevents the app user from apply a temporary filter to the data within the component.

    • Can't be used to set filters: When enabled, this prevents the app user from using the component to set temporary filters for the whole View.

  • Coloring: Select the colors for each of your metrics. For recommendations on effective colors, see: Chart color best practice.Chart color best practice

    custom_coloring_example.jpg
  • Style: Choose whether the legend is displayed on the world map or hidden from app users. For example, this chart includes a legend showing the order count volume:

    legend_highlighted.jpg