Social Network Graph
✓ Published0🌍 Public
A social network graph represents an undirected friendship network among ten individuals, with nineteen connections of varying strength. The visualization uses a force-directed simulation to position rectangular nodes and draw link lines between them, with arrow markers indicating the direction of each relationship. Built with D3.js, the code leverages `d3.forceSimulation` with link, charge, center, and collision forces to compute node placement. Nodes are rendered as SVG rectangles with labels, and link thickness encodes relationship value, while the simulation supports drag interactions for node repositioning.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed