Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social Network ICE-8

Public visualization

Viewing a saved revision (read-only)

ac5c36cb62de4a1f898a315b77a5c8d3

Social Network ICE-8

0 stars0🌍 Public
Vvagdevi-369
Last edited Apr 12, 2023
Created on Apr 11, 2023

This example visualizes a small social network as a node-link diagram, with ten named individuals (e.g., "vagdevi", "Revansh") connected by weighted edges, rendered as SVG circles and lines. The network is laid out using a force-directed algorithm via the `d3.layout.force()` API, which applies gravity and charge parameters to position nodes. The code uses the older D3.js v4 syntax (e.g., `d3.select`, `d3.json`, `force.drag`) to load the network data from an external JSON file and enable drag-and-drop interaction for manual repositioning.

AI-generated description

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

See also React Starter.