update d3 to 3.2.1