Click and drag to move states around. Move slider to modify distance function
Fork of mbostock's force layout example (/mbostock/1073373) with a few experimental changes.
Create links between neighbouring states (inferred from topojson mesh) rather than from Voronoi triangles which add some unstable cross-country links like Maine-Washington. Parameterize distance function with a slider (0 = spatial similarity only, 1 = more variation based on type similarity).
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://d3js.org/topojson.v1.min.js to a secure url
Modified http://d3js.org/queue.v1.min.js to a secure url
Modified http://d3js.org/d3.geom.js to a secure url
Modified http://d3js.org/d3.layout.js to a secure url
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js
https://d3js.org/queue.v1.min.js
https://d3js.org/d3.geom.js
https://d3js.org/d3.layout.js