emeeks / d3.sankey-multipart

An extension of d3.sankey that draws multipart edges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multipart Sankey Diagrams

Extended from Mike Bostock's original d3.sankey.

Demo

npm install d3-sankey-multipart

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

About

An extension of d3.sankey that draws multipart edges


Languages

Language:JavaScript 100.0%