Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

d3-plugins-sankey

newrelic-forks2.3kMIT1.2.1

A bower and npm compatible fork of D3's Sankey plugin

d3, sankey

readme

d3-sankey

A fork of D3js's Sankey plugin

Demo: http://bost.ocks.org/mike/sankey/

var sankey = d3.sankey()
    .size([width, height])
    .nodeWidth(15)
    .nodePadding(10)
    .nodes(energy.nodes)
    .links(energy.links)
    .layout(32);
var path = sankey.link();