Skip to main content
100%

Testing

✓ Published0🌍 Public
Rrobinjohn.inc@gmail.com
Last edited May 31, 2024
Created on May 30, 2024
Forked from HTML Starter

This example demonstrates a simple organization graph diagram with three nodes and two links, rendered as circles and lines in an SVG container. The visualization uses `d3.forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` forces to compute node positions and update the elements on each simulation tick. The code selects the SVG container using `d3.select`, binds data to circle and line selections, and assigns x and y attributes dynamically. The dataset is hardcoded in the JavaScript with nodes for Alice, Bob, and Carol, and the rendering is performed entirely through D3 v6's SVG manipulation.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes