Social Network graph
✓ Published0🌍 Public
This example uses a force-directed network graph to visualize a social network of nine people and their relationships. The visualization shows connections as blue lines whose thickness corresponds to the weight of each relationship. Nodes are rendered as circles with red borders, and each person’s name is displayed adjacent to their node. The layout uses `d3.layout.force` (a force simulation API) to position nodes, with drag interaction enabled via `force.drag`. Data is loaded from an external JSON file (`graph.json`) and rendered as an SVG, with styling applied through CSS.
AI-generated descriptionMIT Licensed