anychart.onDocumentReady(function () {
{from: "Solar Energy", to: "Shading", weight: 10},
{from: "Shading", to: null, weight: 6},
{from: "Shading", to: "Facade", weight: 4},
{from: "Facade", to: null, weight: 3},
{from: "Facade", to: "Interior", weight: 1}
var chart = anychart.sankey(data);
chart.title("Sankey Diagram: Dropoffs");
chart.container("container");