Skip to main content
SankeyChartComponentProps
NameTypeDescription
className?stringOptional class name to set on the chart component's container
csvData?stringOptional data to load into the chart (in CSV format)
interactive?booleanWhether the chart is interactive.
jsonData?VisuallyJsDefaultJSONOptional data to load into the chart (in VisuallyJs default json format)
optionsOmit<SankeyOptions,"data" | "url" | "model">Options for the chart
pivot?stringOptional property to pivot the sankey chart on.
url?stringOptional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.