Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Social Network Graph with d3.js

Public visualization

Social Network Graph with d3.js

0 stars0🌍 Public
VVinay Vemuri
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

This example displays a small social network of five people—John, Alice, Bob, Emily, and Michael—as a node-link diagram rendered in SVG. The graph shows connections between individuals as green links, with each person represented by a large light-green circle and a text label. The layout is computed using d3.forceSimulation with link, charge, collision, and centering forces, while d3.drag enables interactive repositioning of nodes. Hovering over a node triggers a class change to color it steelblue.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed