d3 tutorial

Following the tutorial from http://alignedleft.com/tutorials/d3/