• Stars
    star
    252
  • Rank 161,312 (Top 4 %)
  • Language
    CoffeeScript
  • License
    Other
  • Created over 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A javascript library for drawing sankey / flow diagrams

JAVASCRIPT SANKEY DIAGRAMS

A javascript library for drawing Sankey diagrams.

The canonical code is at: http://github.com/tamc/sankey

Similar tools

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/

DEPENDENCIES

  1. raphael.js
  2. jquery.js
  3. jquery-ui.js (optional)

USAGE

For the moment, see files in the examples folder

HACKING

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

PATCHES AND BUG REPORTS

Please submit bug reports to: http://github.com/tamc/sankey/issues

Please submit patches to: http://github.com/tamc/sankey/pullrequests

More Repositories

1

excel_to_code

Roughly translate some Excel spreadsheets to Ruby or C.
Ruby
224
star
2

rubypeg

RubyPeg helps you to create readable & debug-able Parsing Expression Grammars (PEGs) in ruby
Ruby
7
star
3

twenty-fifty

Note this repository has been superseded by http://github.com/decc/twenty-fifty
Ruby
6
star
4

macc

Code to draw marginal abatement cost curves in javascript
HTML
3
star
5

soks

For posterity: a wiki written in 2004
Ruby
3
star
6

rubyfromexcel

Superseded by https://github.com/tamc/excel_to_code
Ruby
3
star
7

tamc-tangles

Some doodles with the tangle.js library
HTML
2
star
8

tem

Tom's Energy Model
Ruby
2
star
9

metapost-erb

A command and a few support methods to help create metapost files using ruby
Ruby
2
star
10

tom.counsell.org

The source to http://tom.counsell.org
HTML
2
star
11

js-toc

Yet another javascript table of contents generator
CoffeeScript
2
star
12

ruby-script-writer

A small library for programmatically creating well formatted ruby scripts
Ruby
1
star
13

school-catchment-areas

Perl
1
star
14

calculator-workshop-live

C
1
star
15

monty

Demonstration of simple montecarlo simulation
JavaScript
1
star
16

from-excel-to-a-website

Not ready for release
Ruby
1
star
17

Energy-Cost-Converter

e.g.,: Β£m(2009)10-15/kWh to $bn(2010)/GW
Ruby
1
star
18

zenweb-textile

A plugin for zenweb to process .textile files with RedCloth
Ruby
1
star
19

ExcelFormulaParser2

Not ready yet
Swift
1
star
20

osemosys

Fork of the OSeMOSYS open source energy modelling system
1
star
21

zenweb-autolink

A plugin for zenweb that automatically generates links between pages.
Ruby
1
star
22

sok-rail

Not ready yet
Ruby
1
star
23

twenty-fifty-beta

A beta version of the 2050 project
Ruby
1
star