🌍 Public
Viewing a saved revision (read-only)
393f5cde36824b2ba740932add6de697
Untitled
This example shows a small directed graph with four nodes and two weighted links rendered as an SVG. Nodes are labeled with their names from a JSON file, and link stroke width encodes the weight value. The visualization uses the D3.js v2 force-directed layout API, `d3.layout.force`, to position nodes, with link coordinates updated on each simulation tick. Node dragging is enabled via the `force.drag` call.
AI-generated description