> For the complete documentation index, see [llms.txt](https://docs.fabricplan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fabricplan.com/documentation/plan/intelligence-sheets/how-tos/visualization-library/sankey-chart.md).

# Sankey chart

Sankey diagrams use weighted paths to show the magnitude of flow between stages. Use them to understand contributions, transitions, and losses across a system. The nodes represent the categories, the flows depict the connections between categories, and the width of the flows shows the quantity.

{% hint style="info" %}
Sankey charts are a great way to visualize cash flows, resource allocation, or revenue distribution between various dimension categories
{% endhint %}

### Configure a sankey chart

Follow the steps outlined to plot a sankey chart:

1. Select the **Charts 100+** visual.
2. **Chart type:** Select **Horizontal Sankey** or Vertical Sankey from the **Special Charts** section.&#x20;
3. **Category**: Assign dimensions such as *Region*, *Gender*, *Age group*, and *Mode* to plot on the vertical axes.
4. **Actual(s)**: Add a measure to analyze, such as *Total Orders.*

<figure><img src="/files/XQVaLjPJ8JqCc6iWzXbn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fabricplan.com/documentation/plan/intelligence-sheets/how-tos/visualization-library/sankey-chart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
