Using d3.geo.projection to create a custom stretched projection to fill a viewport. In this case, the equirectangular projection is stretched to fit a 960×500 viewport.
Changed /mbostock/raw/4090846/world-50m.json to a local referenece
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js