Skip to main content
100%

ICE8 Social Network Graph d3

✓ Published1🌍 Public
BBVNPK001
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from HTML Starter

This example shows a force-directed social network graph with ten named nodes connected by weighted links. The visualization uses d3.layout.force from d3.v4 to position nodes and links in an SVG canvas, with circle radius fixed at 11 pixels and link stroke width scaled by the square root of each connection’s weight. Node labels appear to the right of each circle, and all elements are draggable via the built-in force.drag interaction. The code loads node and link data from a network.json file and applies CSS-defined colors for links, text, and circles.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes