Sparklines
I wanted to play around a bit with Sparklines – cool little in-line charts and graphs that run off the jQuery library base. I’d found them several months ago in my regular trawling through the ‘net. So I took some of the CDC stats on N1H1 (aka swine flu) that they Twitter each day, and put this
and this
little Sparkline together. These are running on this page.
I also liked the Dow Jones Sparkline that they had on the screen, so I wrote a PHP server to get the closing prices from Yahoo! for the last 4 weeks and pass them to a Dow chart like theirs.
Unfortunately WordPress doesn’t let me include server-side scripting, so here’s
a screen-capture of it.
I must say I’m pretty chuffed with it all…
[Updated this page 5/22/09]
