Skip to main content

SankeyChartComponentProps

Extends

  • DOMAttributes<HTMLDivElement>

Properties

className?

optional className: string

Optional class name to set on the chart component's container


csvData?

optional csvData: string

Optional data to load into the chart (in CSV format)


interactive?

optional interactive: boolean

Whether the chart is interactive.


jsonData?

optional jsonData: VisuallyJsDefaultJSON

Optional data to load into the chart (in VisuallyJs default json format)


options

options: Omit<SankeyOptions, "data" | "url" | "model">

Options for the chart


pivot?

optional pivot: string

Optional property to pivot the sankey chart on.


url?

optional url: string

Optional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.