Recreated a bar chart from the NYT to get a feel of d3