Skip to main content
100%

Gist 42f2a3f8bdbf9468dea8f6274d2dac31

✓ Published0🌍 Public
AAnaMal08
Last edited Feb 10, 2017
Created on Feb 9, 2017

This interactive force-directed graph visualizes relationships among a set of nodes using D3.js’s `d3.forceSimulation` API. The layout emerges from simulated physical forces, with nodes repelling and links attracting them to reveal clusters. The code also implements mouse drag-and-drop interaction, allowing users to reposition nodes in real time, which perturbs the equilibrium and triggers the simulation to recalculate. The visualization renders nodes as circles and links as straight lines, with the underlying data and force parameters defined inline within the JavaScript source.

AI-generated description

Similar vizzes