To have a forceSimulation responsively follow the center of the window when it is resized is not easy, as the forceCenter
is only initialized at the beginning. Here we just move the canvas origin instead. (Answering a question by @ashnur on d3’s Slack.)
forked from Fil's block: Urquhart Force Mesh
https://d3js.org/d3.v4.js