Re:JQuery Sparklines
by xeno42 on Wednesday April 28, 2010 @12:12PM
(#1301886)
I wrote this a couple of years ago and it's been very nice to see the amount of attention it's received; I probably receive an email a day about it on average.
Just wish I had a bit more time to add one or two of the most requested features, though I'm deliberately not adding too much - There are much better tools for generating full sized charts in Javascript.
Re:JQuery Sparklines
by durin42 on Wednesday April 28, 2010 @09:45PM
(#1303326)
Many have said so, and I don't know if you'll check this thread, but many many thanks for this library. I've only ever used it on internal tools (and the ones worth sharing belong to my now-former employer), but it was really a joy to work with. I keep looking for places where I can use it in the future.
Re:JQuery Sparklines
by xeno42 on Wednesday April 28, 2010 @12:25PM
(#1301918)
The mouse speed demo has been pretty popular - I think the best actual example of that technique in action that I've seen using jQuery Sparklines can be seen at the Firefox download stats page:
Re:JQuery Sparklines
by mootothemax on Wednesday April 28, 2010 @12:19PM
(#1301911)
No worries :)
I really like the idea of using the mouse demo for a pretty useless display of say, current processing levels, which'll make every geek's eyes roll and get the guys in marketing salivating ;)
A bit unrelated to this but any ideas how we can improve the reports? Specifically thinking of providing little line chart sparklines for traffic next to each variation.
Re:JQuery Sparklines
by gojomo on Wednesday April 28, 2010 @12:51PM
(#1301993)
I've often wanted the pattern of upvotes/downvotes of a comment to be visible in sparkline form (much like the 'SF Giants' win/loss example on the top right of this page).
Why? I think a +2 comment that is 100 upvotes and 99 downvotes is more interesting than one with a single upvote. It's also interesting to see the comment-voting that changes direction once conversation progresses, or when a different audience shows up (for example, at night). (These could be indicated by extra ticks when followup comments are posted, or background shading to indicate time-of-day.)
It'd be too much to include these in the main threaded view, but as an extra detail (like the 'flag' button) on individual-comment pages, with soft enough colors, it could be interesting.
Re:JQuery Sparklines
by lenni on Wednesday April 28, 2010 @05:15PM
(#1302774)
I'm really wondering why all these graphing libraries seem to be preferring canvas over SVG. Nothing wrong with canvas but doesn't SVG integrate much better with the DOM and aren't graphs a really good example of a vector graphic?
Re:JQuery Sparklines
by mshron on Wednesday April 28, 2010 @11:57AM
(#1301839)
I will definitely be using this. The most crucial part is in place, namely the ability to use sparklines within a line of text. Now I will be able to seamlessly blend context and data everywhere I go.
Re:JQuery Sparklines
by noonespecial on Wednesday April 28, 2010 @01:49PM
(#1302152)
I didn't know this existed, tortuously bodged together my own terrible version of this, and then had that moment of mixed joy and derision upon discovering that someone had done it ridiculously better than me.
Guess that's open source for ya. Its awesomeness quickly dispelled any disappointment at scrapping my own version!
Just wish I had a bit more time to add one or two of the most requested features, though I'm deliberately not adding too much - There are much better tools for generating full sized charts in Javascript.
Flot is one the best full sized chart libraries. And yours is the best Sparkline library we could find.
Frankly you've saved us a ton of time from writing this ourselves, so please accept my undying thanks!
Now if we could just get a jQuery plugin that would turn on those Woot lights of yours...
Now I'm just trying to work out how to fit these in to the stats section of my websites, great piece of coding!
http://www.mozilla.com/en-US/firefox/stats/
oh nevermind, I see it now at the bottom
Alistair MacDonald of hyper-metrix.com for the SVG+Canvas world map
The mouse demo thing was killer.
I really like the idea of using the mouse demo for a pretty useless display of say, current processing levels, which'll make every geek's eyes roll and get the guys in marketing salivating ;)
http://dev.visualwebsiteoptimizer.com/test_report.php?test_i...
A bit unrelated to this but any ideas how we can improve the reports? Specifically thinking of providing little line chart sparklines for traffic next to each variation.
Why? I think a +2 comment that is 100 upvotes and 99 downvotes is more interesting than one with a single upvote. It's also interesting to see the comment-voting that changes direction once conversation progresses, or when a different audience shows up (for example, at night). (These could be indicated by extra ticks when followup comments are posted, or background shading to indicate time-of-day.)
It'd be too much to include these in the main threaded view, but as an extra detail (like the 'flag' button) on individual-comment pages, with soft enough colors, it could be interesting.
http://code.google.com/p/flot/
The head revision also supports pie charts, which are pretty sweet.
Guess that's open source for ya. Its awesomeness quickly dispelled any disappointment at scrapping my own version!