kuva sankey

Sankey / alluvial flow diagram.

Input: three columns — source node, target node, flow value.

FlagDefaultDescription
--source-col <COL>0Source node column
--target-col <COL>1Target node column
--value-col <COL>2Flow value column
--link-gradientoffFill each link with a gradient from source node colour to target node colour
--opacity <F>0.5Link opacity
--legend <LABEL>Show legend
kuva sankey sankey.tsv \
    --source-col source --target-col target --value-col value

kuva sankey sankey.tsv \
    --source-col source --target-col target --value-col value \
    --link-gradient --legend "read flow"

See also: Shared flags — output, appearance, axes, log scale.