Answer to this stackoverflow question which really just needed a bit of work to the forEach
loop. Also, the gist was created from the command line using gist-put by Andy Winterman.
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://d3js.org/topojson.v1.min.js to a secure url
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js