Skip to main content
100%

Network graph

✓ Published0🌍 Public
SSg2041
Last edited Mar 16, 2023
Created on Mar 16, 2023
Forked from HTML Starter

This example demonstrates a simple network graph consisting of three nodes (Alice, Bob, and Carol) connected by two directed links, forming a chain. It uses d3.forceSimulation with forceManyBody, forceLink, and forceCenter to compute node positions, and logs each simulation tick to the console. The visualization renders as an SVG-less HTML page with no explicit drawing code, relying solely on the simulation’s output for node and link coordinates. The data is hardcoded as JavaScript arrays of node objects and link indices.

AI-generated description
MIT Licensed

Similar vizzes