Update D3 dependency version.

Version 3.1.x is required as d3.geo.chamberlin uses d3.geo.rotation.