Simulation of multiple particles orbitting around each other in a hierarchical system (e.g. sun > planet > moon).
Uses D3’s force plugin forceMagnetic to connect particles to their moving gravitational centers via magnetic/electrostatic links. These magnetic attraction forces simulate the mechanics of gravity. Each link holds its own gravitational constant to exaggerate the amplitude and velocity of the orbits relative to each other, which would be otherwise impossible in a system with a single constant.
Compare with the forceLink version.