Skip to content

Sankey Chart

4 min read · Updated 11 Nov 2026

A Sankey chart (alluvial diagram) shows how a measure flows between the values of two or more dimensions, such as energy from source to use or visitors from one page to the next. The width of each link shows the size of the flow, so you can see which paths through the dimensions carry the most.

Sankey chart of energy flows from Source nodes through Mid nodes to Target nodes, with a title, subtitle and value labels.

The Sankey chart is near the bottom of the visualization list.

Visualizations panel scrolled to the bottom, with the Sankey chart icon under the Sankey heading underlined in red.

Add between two and fifteen dimensions and one measure. Each dimension becomes a column of nodes, in the order you add them.

Data panel with the Occupation and Yearlyincome dimensions and a COUNT #customers measure.

Special Dimension Settings in the Sankey Chart

Section titled “Special Dimension Settings in the Sankey Chart”

Dimension settings for Yearlyincome showing Format type None, Null values checked, and the Coloring dropdown set to Single.

Coloring sets how the nodes of one dimension are colored when the chart’s Color setting is Per Dimension (see Color):

  • Single: all nodes in the dimension have the same color.
  • Categorical: each node in the dimension has a different color.

By default, the chart reads the first 2,000 rows of the query. Each combination of dimension values is a row, so with several dimensions the result can pass that limit and leave flows out of the chart.

Sankey Style tab with Show null nodes, Node margin, Columns, Node labels, Color, Node color and Link color sections.

  • Show null nodes: show or hide null nodes in every dimension. It is off by default. The two charts below show the difference in the second dimension.

    Two Sankey charts side by side, one with null values in the Mid dimension and one skipping them, with the null node boxed in red.

  • Node margin: the vertical space between the nodes of a dimension.

  • Show header label: show or hide the dimension names above the columns.

  • Width: the width of the nodes in every dimension. When nodes are wide enough, their labels can sit inside them.

    Sankey chart with Source, Mid and Target column headers and wider nodes that carry labels such as Z: 1,891.83 inside them.

  • Margin: the horizontal space between the links and the nodes.

  • Node labels: turn node labels on or off. When they are on, choose what they show:

    • Dimension: the dimension value only.
    • Flow: the measure value only.
    • Both: the dimension value and the measure value.
  • Placement Priority: by default, each label is placed above, inside or beside its node, wherever it reads best. Turn off a placement to keep labels out of it.

  • Backdrop: set a background color behind the node labels.

    The chart below has node labels set to Both, labels placed beside the nodes, and a light green backdrop.

    Sankey chart with light green node label backdrops beside the nodes, next to Node labels settings set to Both with Backdrop enabled.

  • Color: how the chart is colored.
    • Single: all nodes and links have the same color. The dimensions’ own Coloring settings are ignored. It suits charts where you want to highlight one part.
    • Per Dimension: the default. Each dimension is colored by its own Coloring setting.
  • Conditional coloring: color by a condition on a measure or on dimension values. Where a condition matches, its color takes priority over the Color setting.
  • Node color: when override is on, all nodes have the color you set, whatever the other settings.
  • Link color: the color of the links.
    • Opacity: how opaque the links are.

    • Override: give all links the color you set, instead of a color taken from their nodes.

    • Coloring method: which node colors a link takes, shown from left to right below.

      Three link color style thumbnails for the Sankey chart: a gradient link, a link in the source color, and a link in the target color.

      • A gradient from the start node’s color to the end node’s color.
      • The start node’s color.
      • The end node’s color.

For the other chart types in the classic Workbook Editor, start from Data objects.