Skip to main content
Public

Share visualization

Loading preview…

ICE-8: Social Network graph with D3.js

vizhub.com

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

Before sharing, review the publishing checklist.

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 & exportPNG, HTML, source ZIP

ICE-8: Social Network graph with D3.js

0
Mmanasanimmagadda13
Last edited Apr 4, 2022
Created on Apr 3, 2022

This example visualizes a small social network of six people, grouped into three clusters, with weighted links indicating connection strength. The graph uses a force-directed layout via `d3.layout.force` to position nodes, which are rendered as orange circles with blue outlines and labeled with purple text. Links appear as black lines whose stroke width reflects each link’s weight. Nodes are draggable, and the simulation updates positions continuously on each tick. Data comes from a local JSON file, and the visualization is drawn as SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed