d3-sankey

v0.3.1
Visualize flow between nodes in a directed acyclic network.
d3 sankey

pretest

rm -rf build && mkdir build && rollup --banner "$(preamble)" -g d3-array:d3,d3-collection:d3,d3-interpolate:d3 -f umd -n d3 -o build/d3-sankey.js -- index.js

test

tape 'test/**/*-test.js' && eslint index.js src

prepublish

npm run test && uglifyjs --preamble "$(preamble)" build/d3-sankey.js -c -m -o build/d3-sankey.min.js

postpublish

VERSION=`node -e 'console.log(require("./package.json").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-sankey/build/d3-sankey.js d3-sankey.v0.3.js && cp ../d3-brush/build/d3-sankey.min.js d3-sankey.v0.3.min.js && git add d3-sankey.v0.3.js d3-sankey.v0.3.min.js && git commit -m "d3-sankey ${VERSION}" && git push && cd - && zip -j build/d3-sankey.zip -- LICENSE README.md build/d3-sankey.js build/d3-sankey.min.js

Metadata

Downloads