Function Repository Resource:

# AlluvialChart

Chart changing weights over time

Contributed by: Michael Sollami
 ResourceFunction["AlluvialChart"][{{w11,w12,… }, {w21,w22,…},…}] generates a chart of changing values wij over time. ResourceFunction["AlluvialChart"][{g1,g2,… }] generates a chart changing vertex weights over a sequence of graphs gi.

## Details and Options

ResourceFunction["AlluvialChart"] expects to be True for all graphs in the list.
ResourceFunction["AlluvialChart"] returns a Graphics object representing a subcategory of a Sankey diagram, wherein the heights of the bands correspond to VertexWeight, nodes are grouped vertically and horizontal steps represent the sequence of graphs, typically time or date stamps, which increase temporally from left to right.
The following string options can be given in addition to the standard Graphics options:
 "CenteredMidline" False whether to vertically center the columns "ColorList" Automatic list of colors to use for the vertices "EdgeForm" White specify the EdgeForm for the filled curves "HorizontalLabels" None specify the labels on graphs "Spacings" Automatic how much to space the bands "VerticalLabels" None specify the labels for the vertices

## Examples

### Basic Examples (2)

Construct a simple alluvial diagram from lists of numeric values:

 In[1]:=
 Out[1]=

Construct a simple alluvial diagram from vertex weights:

 In[2]:=
 Out[2]=

### Scope (3)

Construct an alluvial chart using edge weights instead (by taking the dual of a Graph):

 In[3]:=
 Out[4]=

Create an alluvial chart and specify the labels and colors:

 In[5]:=
 Out[5]=

Create a random alluvial chart:

 In[6]:=
 Out[6]=

### Options (1)

Specify that the vertical-midline should be centered:

 In[7]:=
 In[8]:=
 Out[8]=

Michael Sollami

## Version History

• 1.0.0 – 29 June 2020