PP
← Back to lab

Force graph

3D force-directed universe with click-to-fly viewpoint

d3-force-3d in a Web Worker, Three.js renderer with instanced nodes, additive line edges, and halo billboards on hubs. Ten color-coded clusters, draggable nodes, and a click that flies the camera in behind the selected node. Same pipeline as the production 10K-node banking graph, virtualized from a million rows on S3.

hover for details · click a node to fly in · drag a node to pull it · drag empty space to orbit · scroll to zoom

Full 3D force simulation in d3-force-3d running inside a Web Worker. Rendering is Three.js: instanced sphere nodes, additive line edges, additive halo billboards on hubs. The layout starts from a singularity at the origin and explodes outward as the force cools, and color identifies one of ten connected clusters so the universe reads as a galaxy of communities once it settles. 1,000 entities here for a responsive offline demo. In the production banking SaaS this same force-in-worker pipeline backs a 10,000-node graph drawn from a million-row customer dataset on S3, streamed in by viewport slice so first paint stays under a second no matter how large the underlying dataset grows. Drag empty space to orbit, scroll to zoom, drag a node to move it in 3D, click a node to fly the camera in behind it.