Skip to main content
Public

Share visualization

Loading preview…

Bhargava - 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

Bhargava - Social Network Graph

0 stars0Public
Bbhargavarathod
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from HTML Starter

This example shows a social network graph of eight people linked by friendship, rendered in an SVG with large, light-blue circular nodes. The network data is loaded from `network.json`, and a force-directed layout computed with `d3.forceSimulation`, `forceLink`, `forceManyBody`, `forceCollide`, and `forceCenter` positions the nodes. Links are drawn as thick red lines with arrowhead markers. Interactive dragging via `d3.drag` lets viewers reposition nodes, and hovering highlights the cursor over a node with a green border.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed