For a side project at $WORK I need to plot some data.
In the past I used gnuplot
but as I wanted to interactively investigate the data I wrote a GUI browser in Clojure
. This was relatively easy and fast enough.
But I've been told that I'm not with the new hotness and that I should investigate doing this in the browser. So I found the pretty impressive dygraphs
The plots look fantastic and are really what I need. So I make my first html5 like page and tried it.
At first I thought that something was wrong. If I do this plot with gnuplot I get:
$ time gnuplot plot.gnuplot
In Safari it took 22 minutes
, while showing a beachball all the time, to plot this data. Chrome and Firefox do it quite a bit better at only two minutes, but still... not subsecond is it? Using the 'canvas' html5 terminal in gnuplot produces 14M html file which only takes something lik 20 seconds to get drawn in all browsers.
But I must admit that the default look and interactivity of dygraph is lightyears ahead of my gnuplot settings...This entry was originally posted at http://pvaneynd.dreamwidth.org/152036.html. Please comment there using OpenID.