Skip to main content
100%

Social Network graph

✓ Published0🌍 Public
Aadapavaishnavi12
Last edited Apr 13, 2023
Created on Apr 13, 2023

A social network graph displays nine named individuals as nodes grouped by color-coded categories, with weighted links connecting them by relationships. The visualization uses a force-directed layout via `d3.layout.force` to position nodes, with link stroke-width scaled by the square root of the connection weight. Node circles are styled with blue fills and pink stroke, while purple links and text labels are rendered as SVG elements defined in CSS. Data comes from an external `graph.json` file containing node names, group assignments, and weighted edge pairs, and nodes support dragging through the force layout's drag behavior.

AI-generated description
MIT Licensed

Similar vizzes