Circle-bound nodes in d3.layout.force(), using a variation of Mike Bostock's rectangular Bounded Force Layout. Here we calculate the maximum and minimum x for a given y in the circle, and vice versa.
forked from nsonnad's block: Circle-bound D3 force layout
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js