3D version of mbostock's Radial Force.
The two classes of nodes are attracted to a sphere's surface with configured radius of 300px (red) and 600px (blue).
Uses 3d-force-graph for the ThreeJS/WebGL rendering and d3-force-3d for the 3D versions of the radial and collision forces.
https://unpkg.com/3d-force-graph@1
https://unpkg.com/d3-octree
https://unpkg.com/d3-force-3d