Skip to main content
100%

Social Network Graph

✓ Published0🌍 Public
Ssrikkanth05
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This example visualizes a social network of eight people and their friendship connections as a force-directed graph. Node size is uniform, and relationships are represented as directed links with arrowheads, while labels identify each person. The graph uses `d3.forceSimulation` with `forceLink`, `forceManyBody`, `forceCollide`, and `forceCenter` to position nodes dynamically. Interactive drag-and-drop lets users rearrange the layout, and hovering highlights a node with a blue stroke. Data is loaded from a local JSON file, and the SVG rendering updates positions on each simulation tick.

AI-generated description

Social Network

MIT Licensed

Similar vizzes