News for hackers. Stuff that matters.
Re:Show HN: Tufte's discrete sparklines using D3.js by jonahx on Wednesday January 06, 2016 @05:41PM (#10854456)
Curious what the advantage is (in general) of sparklines over, say, a line of circles with filled in = win and empty = loss? you could use a red fill color for streaks of 4 or more. It seems to me a solution like that would have less clutter and better communicate the data...
Re:Show HN: Tufte's discrete sparklines using D3.js by goldenchrome on Wednesday January 06, 2016 @06:09PM (#10854648)
A single line of circles allows for less information density. If you force it to have the same information density then you lose a lot of legibility. Secondly, it's possibly harder to see where outliers are. I find this especially true when the vast majority of the dataset is 0, and you're looking for the outlying 1s.

See this example I mocked up, where each line has the same number of data points: http://i.imgur.com/xRoY41c.png

Re:Show HN: Tufte's discrete sparklines using D3.js by rooviz on Thursday January 07, 2016 @04:29AM (#10856950)
Thanks, that example illustrates the information density point very well!
Re:Show HN: Tufte's discrete sparklines using D3.js by jonahx on Thursday January 07, 2016 @01:00AM (#10856264)
Thanks for taking the time to do that.
Re:Show HN: Tufte's discrete sparklines using D3.js by kpil on Wednesday January 06, 2016 @05:54PM (#10854543)
What does the partial horizontal line indicate in Tufte's example?
Re:Show HN: Tufte's discrete sparklines using D3.js by indyz on Wednesday January 06, 2016 @05:59PM (#10854584)
Looking at the Bosox 2009 schedule, it looks like the horizontal line indicates home games.
Re:Show HN: Tufte's discrete sparklines using D3.js by macintux on Wednesday January 06, 2016 @06:44PM (#10854852)
Indeed. 2nd paragraph on the linked page:

"This example is from Tufte's site, and was made in collaboration with Adam Schwartz. The presence of a horizontal line represents a home game."

Re:Show HN: Tufte's discrete sparklines using D3.js by danielhellier on Thursday January 07, 2016 @05:08PM (#10861194)
Would have been better had you used SVG.