Social Network
✓ Published2🌍 Public
This example visualizes a small social network with seven named people and weighted connections. It uses a force-directed layout via `d3.layout.force` to position nodes and links, rendering them as SVG circles and lines. The thickness of each link corresponds to the `weight` field from the JSON data, and node labels display names. The graph is interactive, allowing nodes to be dragged and repositioned while the simulation updates the layout in response to tick events.
AI-generated descriptionMIT Licensed