upgrade to d3.v3