Code I'm using to learn the d3.js javascript library