Skip to main content
100%

Social network graph

✓ Published0🌍 Public
AAAL FORHAD
Last edited Apr 2, 2022
Created on Apr 2, 2022
Forked from HTML Starter

This example displays a small social network of six named individuals and seven weighted connections using a force-directed graph. The SVG rendering is driven by the D3 v4 `d3.layout.force` API, with nodes as blue circles and edges as blue lines whose stroke width reflects link weight. Node positions update on each tick event, and drag interaction is enabled via `force.drag`. Data is loaded from an external JSON file, and the layout uses gravity, charge, and distance parameters to position the elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes