Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Chart changing weights over time
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. |
"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 |
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]= |
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]= |
Specify that the vertical-midline should be centered:
In[7]:= |
In[8]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License