jQuery Sankey Diagram Data Binding

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE

Also available for:

API REFERENCE

Description

This demo demonstrates how one can transform data represented as an array to a SankeyData format. This is achieved using the createSankeyData function. It takes an array of data, dimensions, and measure as input parameters and returns an object that can be fed directly into the component. The dimensions refer to the Sankey nodes while the measure refers to the value that will be used to set the value of the links.

Additional Resources