Warning: readfile(http://alkoltashov.narod.ru/leebyron.com.txt) [function.readfile]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/leebyron.com/www/how/wp-content/themes/leebyronhow/header.php on line 20
Mar 30th, 2010
8:10 pm

Code to generate Streamgraphs, now available

Not quite two years ago, I published a paper with Martin Wattenberg titled “Stacked Graphs — Aesthetics and Geometry” in which we discussed the problems surrounding the use of stacked graphs, and presented a new stacked graph layout technique we called Streamgraphs. Streamgraphs had been seen before in a project I did with last.fm data called Listening History as well as in a graphic in the New York Times called Ebb and Flow at the Box Office.

I’ve finally gotten to consolidating the code used to produce the graphics for the paper, cleaning them up and adding crucial comments for better understanding. It’s presented as a processing applet, and available on github.

You can now download the source code for Streamgraphs.

Reader Replies

  1. Ha-Jo replied
    on Dec 25th, 2011 at 10:20 am

    Great graphs!
    And great that you’ve opened up the source, too.

    In your last.fm grapher there are labels in the generated PDF. Two things I couldn’t find in your code. Is this intented or is there a chance that you could publish the code for these two parts, too?

    Anyway: Merry Christmas to you!

Leave a Reply