Sankey
Sankey Chart used in SSLi HC App

Props
Name
Type
Default Value
Required
Description
data
ISankeyData
[]
yes
data to populate nodes and link
colors
string[]
[ '#7cb5ec', '#8085e9', '#f15c80', '#f7a35c', '#2b908f', '#9e9ed7', '#90ed7d', '#e4d354', ]
no
to populate node colors, order by data order (above). See more below.
name
string
Name will be shown in tooltip.
Usage Example
Data
Color Order

The source node will always have a distinct color, and will color the first destination node it is linked to, unless it has already been colored. The destination will be color ordered by its first source --> destination link. The next time a source destination links to an already colored node, no new coloring will occur.
Last updated
Was this helpful?