News for hackers. Stuff that matters.
Re:You Draw It: How Family Income Affects College Chances by ffn on Thursday May 28, 2015 @01:28PM (#9619677)
Yeah, I was really interested too. From what I can get from playing around in the console, they (probably jashkenas and his cronies) they're using d3 to do the rendering. Since d3 has convenient map / filter / reduce chains, I assume (though have no proof), they can figure out the shape of your line by doing ye olde' rise / run calculation for each point. If your slopes gets significantly bigger at some point, you must have a S shape. They also force you draw only 1 point per x-increment, so they don't have to handle bad users drawing vertical lines.
Re:You Draw It: How Family Income Affects College Chances by kquealy on Thursday May 28, 2015 @01:51PM (#9619839)
Glad to see so much discussion of this here! Always cool to see our work on HN.

To answer this question, yes, we (Jeremy's cronies) are indeed using D3 to do most of the drawing and interactions. He also forced us to use Underscore.

The heat map showing everyone's responses is done in Canvas.

Hope that helps.

-KQ