Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social Network

Public visualization

Social Network

0 stars2🌍 Public
SSohilaBheemReddy
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example visualizes a small social network with seven named people and weighted connections. It uses a force-directed layout via `d3.layout.force` to position nodes and links, rendering them as SVG circles and lines. The thickness of each link corresponds to the `weight` field from the JSON data, and node labels display names. The graph is interactive, allowing nodes to be dragged and repositioned while the simulation updates the layout in response to tick events.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed