Social network graph
✓ Published0🌍 Public
This example displays a small social network of six named individuals and seven weighted connections using a force-directed graph. The SVG rendering is driven by the D3 v4 `d3.layout.force` API, with nodes as blue circles and edges as blue lines whose stroke width reflects link weight. Node positions update on each tick event, and drag interaction is enabled via `force.drag`. Data is loaded from an external JSON file, and the layout uses gravity, charge, and distance parameters to position the elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed