The Sankey
component is available in the nivo
HTTP rendering API.
The API generates a SVG and return a path to this SVG
which can then be easily embedded.
The api accepts almost the same properties as the regular component, in json, however it's not interactive and you cannot use code in properties (functions).
Please note that the demo API server is installed on heroku using a free plan, so it might be unavailable from times to times.
no response available
Chart data defining nodes and links.
Optional formatter for values.
'horizontal'
Control sankey layout direction.
'center'
Node alignment method.
'auto'
Node sorting method.
Chart width.
Chart height.
Chart margin.