Sankey Diagram

Creates a Sankey containing mulitple blocks

You are now following this Submission

The code is created largely based on the alluvial diagram (https://nl.mathworks.com/matlabcentral/fileexchange/66746-alluvial-flow-diagram). It improves the alluvial diagram in two respects:
1. It can plot a Sankey diagram with multiple blocks
2. For each block, the left and right ends do not have to be balanced.

Text labels have to be added separately.

Cite As

Ranran Wang (2026). Sankey Diagram (https://www.mathworks.com/matlabcentral/fileexchange/75813-sankey-diagram), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0