d3 / d3-plugins

[DEPRECATED] A repository for sharing D3.js V3 plugins.

Home Page:https://github.com/d3/d3/wiki/Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sankey improvements

mbostock opened this issue · comments

The Sankey plugin could use some improvements, such as options for disabling the move-sinks-right and enabling move-sources-right. Also, being able to set the x-position of the nodes in a Sankey diagram would be useful for alluvial diagrams; it might also be useful to control the y-order of nodes for a given x-value.

For manually setting the x-position, see #88

FYI: I merged #91 in the master branch of my subtree fork of the sankey plugin at https://github.com/soxofaan/d3-plugin-captain-sankey (also see #133 )