Update from d3 2.8.0 to d3 v3.