Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

My social Network graph

Public visualization

My social Network graph

0 stars0🌍 Public
KKiran3295
Last edited Apr 4, 2022
Created on Apr 3, 2022

This example visualizes a small social network as a force-directed graph, with seven people connected by weighted links. The SVG rendering uses D3 v4’s `d3.layout.force` to position nodes and edges, applying gravity, distance, and charge parameters. Nodes are draggable circles with name labels, and link thickness reflects the `weight` property from `graphFile.json`. The code also references D3 v2, though the primary layout comes from the v4 API.

AI-generated description

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed