Sankey is helps to visualize flow and quantity in proportion to one another. The width of the lines show respective magnitudes. Sankey
Size of the parent element/component (passed by the Responsive hoc)
type: shape[object Object]
Additional css classes passed from parent
type: string
defaultValue: ''
Array of colors as hex color codes
type: arrayOf[object Object]
defaultValue: schemePaired
the data to use to plot pie chart
type: shape[object Object]
defaultValue: { nodes: [], links: [], }
[minFontSize, maxFontSize] for the labels. Each label is scaled based on its value
type: arrayOf[object Object]
defaultValue: [14, 30]
Select label for the data
type: func
defaultValue: d => d.label
Margins for the chart
type: shape[object Object]
defaultValue: { top: 0, right: 0, bottom: 0, left: 0, }
Handler function to save the generated svg
type: func
defaultValue: () => {}
Select the value for the unit data
type: func
defaultValue: d => d.value