d3 changes per mbostock

https://github.com/mbostock/d3/issues/1693