🌍 Public
Viewing a saved revision (read-only)
4df8c80124fc4d24a6e5b5a82ebf6c39
Sn
A social network graph of ten people and their friendship connections uses force-directed layout to arrange nodes in an SVG. Node size is constant, while link thickness encodes the relationship value, with most connections weighted at one. The visualization uses D3’s `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, `d3.forceCollide`, and `d3.forceCenter` to compute positions, with drag interaction enabling manual rearrangement. Data from `data.json` is loaded asynchronously, and nodes are labeled with names, with hover effects toggling a CSS class.
AI-generated description