Skip to main content
100%

3D Radial Force

✓ Published0🌍 Public
TThanaporn-sk
Last edited Feb 9, 2018
Created on Feb 9, 2018

This example visualizes a 3D radial force layout, where two classes of nodes are attracted to the surfaces of concentric spheres with radii of 300 and 600 pixels, respectively. The 700-node dataset, with one class in brown and the other in steelblue, demonstrates how radial attraction and collision forces organize the nodes into distinct spherical shells. The visualization relies on the `3d-force-graph` library for WebGL rendering and the `d3-force-3d` library, which provides the `d3.forceRadial` and `d3.forceCollide` functions to drive the simulation.

AI-generated description

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.

forked from <a href='http://bl.ocks.org/vasturiano/'>vasturiano</a>'s block: <a href='http://bl.ocks.org/vasturiano/bcfc5baa9e7998fb97b3091d2499fe16'>3D Radial Force</a>

mit Licensed

Similar vizzes