svg-sankey

0.2.0 • Public • Published

svg-sankey

Create SVG Sankey diagrams from the command line. Uses d3-sankey-diagram.

Installation

svg-sankey requires node and npm.

npm install -g svg-sankey

Usage

svg-sankey --size 800,600 --margins 10,150 sankey_data.json > sankey.svg

The input data format is JSON with exactly the same content as used by d3-sankey-diagram. See the documentation and examples.

Package Sidebar

Install

npm i svg-sankey

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

237 kB

Total Files

11

Last publish

Collaborators

  • ricklupton