Skip to main content
100%

Social Network Graph

✓ Published0🌍 Public
Ss-pranathi
Last edited Apr 4, 2022
Created on Mar 31, 2022
Forked from HTML Starter

This visualization displays a social network graph using a force-directed layout. Nodes represent individuals, and lines depict connections between them, with each node labeled by name. The code uses `d3.forceSimulation` with `d3.forceLink` for the edges, `d3.forceManyBody` for repulsion, and `d3.forceCenter` to keep the graph centered. The network data is loaded as JSON from a GitHub gist, and the SVG rendering updates node and link positions dynamically as the simulation runs.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes