Untitled
✓ Published1🌍 Public
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 descriptionMIT Licensed