Flutterby™! : JQuery/Javascript OTD

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

JQuery/Javascript OTD

2012-03-16 23:49:13.986529+00 by Dan Lyke 5 comments

flot - Attractive Javascript plotting for jQuery. Various examples.

Coupled with DateTimepicker (DateTimepicker on GitHub) and a little bit of:

options.xaxis.min = $("#fromdate").datetimepicker('getDate').getTime();

I think this will rock.

[ related topics: Sociology ]

comments in descending chronological order (reverse):

#Comment Re: made: 2012-03-20 02:58:27.16789+00 by: meuon

http://www.rgraph.net/ Was something I played with a few months ago and was impressed.

#Comment Re: made: 2012-03-19 20:01:31.840723+00 by: Dan Lyke

Okay, now I want some cooler data sets, like high density DSL bit distributions versus the weather for a year or two, because I've seen the airline on-time performance demo of Tesseract.

#Comment Re: made: 2012-03-19 01:43:17.779556+00 by: brennen

I more or less made my peace with JavaScript years ago, but it took me until pretty recently to come around to liking it.

Browsers have always been pretty good at dealing with a certain baseline of declarative structure. I find if I think of JS as a mechanism for extending that competence, I get along with it pretty well. Plus, as you say, it encourages interfaces that spit out machine-readable structure instead of spewing a bunch of presentation. I get kind of curmudgeonly about people re-implementing basic features of the browser for no obvious gain, but there's something to be said for the way you can now offer a payload that tweaks the behavior of a client everyone's running anyway and then just talk structured data to it.

#Comment Re: made: 2012-03-19 00:33:52.5573+00 by: Dan Lyke

Whoah. I just read the first section of the d3 intro and broke my brain...

I think the thing that's making me come around on JavaScript is that we're finally seeing this as a gateway to publishing semantic data and letting people actually do stuff with data. The various JS libraries are just a "and here are a few things you might try with that data" in-between step.

#Comment Re: made: 2012-03-18 01:27:44.882193+00 by: brennen

I'll definitely give this a look. Been writing some simple stuff to do charts on a canvas element, which is kind of fun, but I keep thinking I should just find a library I can actually stand to use.

d3.js is also promising, although it sort of broke my brain the first time I tried to do anything novel with it.