News for hackers. Stuff that matters.
Re:Random walk illustrated with D3 by paulgb on Sunday February 10, 2013 @03:55PM (#5197859)
The code for this is neat and impressively short, anyone looking to see the power of D3 should check it out: https://gist.github.com/wrr/4750218

My only suggestion is that .data([color_idx]) would be more idiomatic (I think) if it were .datum(color_idx)

Re:Random walk illustrated with D3 by mixedbit on Monday February 11, 2013 @03:10AM (#5199884)
Thanks! It is now changed to datum().