A javascript library for drawing Sankey diagrams.
The canonical code is at: http://github.com/tamc/sankey
This sankey diagram generator uses the Raphael library and therefore the diagrams work in older versions of Internet Explorer.
If you are happy for your diagrams to work only with the latest generation of browsers, then take a look at: http://bost.ocks.org/mike/sankey/
- raphael.js
- jquery.js
- jquery-ui.js (optional)
For the moment, see files in the examples folder
The javascript is written in CoffeeScript in the src directory.
To keep the javascript in sync with the coffeescript, run:
coffee -wo js/ -c src/sankey.coffee
Please submit bug reports to: http://github.com/tamc/sankey/issues
Please submit patches to: http://github.com/tamc/sankey/pullrequests