Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

network

Public visualization

Viewing a saved revision (read-only)

2e573d2b78114266a04c4245af44c795

network

0 stars0🌍 Public
Ddivyagunuguntla
Last edited Apr 5, 2022
Created on Apr 4, 2022

This network visualization shows a small social graph of seven named individuals with weighted connections between them, rendered as green nodes with yellow labels on a black background. The force-directed layout, built with d3.layout.force from d3.v4, positions nodes and links while supporting drag interaction. The code loads data from data.json via d3.json, then uses SVG line elements for links with stroke-width determined by the square root of each link's weight, and groups for nodes with attached circles and text labels.

AI-generated description

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

See also React Starter.