D3 2.11’s projections will adaptively resample to reduce local distortion of lines. Move the mouse to change the precision, and drag to change the aspect.
Update: Mike has made some awesome improvements!
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js