Social Network graph-DV-ICE_8
✓ Published0🌍 Public
A social network graph displays nine people as pink circles connected by black lines, with each node labeled by name and grouped by color-coded community. The network uses a force-directed layout provided by d3.layout.force, which positions nodes based on gravitational attraction, charge repulsion, and link distances. Links vary in stroke width according to each connection’s weight value from the loaded JSON data. Nodes are draggable via force.drag, and the visualization renders in SVG within a 900x600 canvas, updating positions on each tick event. The data comes from graph.json, specifying names, groups, and friend relationships.
AI-generated descriptionMIT Licensed