Skip to main content
Public

Share visualization

Loading preview…

papa - Social Network Graph

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

papa - Social Network Graph

0 stars10Public
Bbhargavarathod
Last edited Apr 5, 2022
Created on Apr 5, 2022

This interactive social network graph visualizes friendship connections between eight individuals, with nodes representing people and directed edges showing relationships. The visualization employs a D3.js force-directed layout using `d3.forceSimulation` with link, charge, collision, and center forces. Each circular node is rendered in SVG with its label displayed, and users can drag nodes to reposition them. Hovering highlights nodes with a green stroke via CSS classes. The data comes from a JSON file containing node identifiers and link relationship values, with results drawn as SVG elements updated on each simulation tick.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed