Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Network graph

Public visualization

Network graph

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed