Skip to main content
100%

Project Org

✓ Published0🌍 Public
LLAolaDevEnrique
Last edited Sep 23, 2022
Created on Sep 23, 2022
Forked from HTML Starter

This example shows a minimal force-directed network graph of three nodes (Alice, Bob, Carol) and two links, rendered inside an SVG container. Using D3 v6, it sets up a `forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` to position the nodes and edges dynamically. The simulation logs each tick to the console, but no visual rendering occurs beyond the initial SVG setup. The code is a bare React-free HTML page that loads D3 from a CDN and uses `d3.forceSimulation` to manage the physics.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes