A barchart tutorial for D3, taken from http://enja.org/2011/09/15/simple-d3-js-pie-chart-webcast/