D3 Force
This example demonstrates a simple force-directed simulation of three nodes (Alice, Bob, and Carol) connected by two links, rendered as circles inside an SVG element. The visualization uses D3’s `forceSimulation` API with `forceManyBody`, `forceLink`, and `forceCenter` forces, which are explicitly set up to model charge, link, and centering effects. The simulation’s `on('tick')` handler logs a message to the console, but the positions are not yet updated or drawn, so the visualization’s visible output is minimal. The code references the D3 library loaded via a CDN and selects the SVG container using `d3.select`.