Sankey Chart
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.
Building a Sankey
Section titled “Building a Sankey”Add a Sankey Chart
Section titled “Add a Sankey Chart”The Sankey chart is near the bottom of the visualization list.
Define a Sankey Chart
Section titled “Define a Sankey Chart”Add between two and fifteen dimensions and one measure. Each dimension becomes a column of nodes, in the order you add them.
Special Dimension Settings in the Sankey Chart
Section titled “Special Dimension Settings in the Sankey Chart”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.
Data Limits
Section titled “Data Limits”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.
Style a Sankey Chart
Section titled “Style a Sankey Chart”Layout
Section titled “Layout”-
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.

-
Node margin: the vertical space between the nodes of a dimension.
Node Labels
Section titled “Node Labels”-
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.

-
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.

- 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.

- 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.




