Computes a sankey diagram from nodes and links, built
on top of d3-sankey.
The responsive alternative of this component is
Please be careful with the data you use for this chart as
it does not support cyclic dependencies.
For example, something like
A —> A
A —> B —> C —> A will crash.
This component is available in the
see sample or
try it using the API client.
You can also see more example usages in
See the dedicated guide on how to setup
legends for this component.
Start interacting with the chart to log actions
Define style for common elements such as labels, axes… Defines how to compute nodes color.
Node opacity on hover (0~1). Spacing between nodes at an identical level. Node inner padding, distance from link, substracted from nodeThickness.
modifiersMethod to compute node border color.
modifiersMethod to compute label text color.
Motion config for react-spring, either a preset or a custom configuration.