Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of ICE-8: Social Network

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

Fork of Fork of ICE-8: Social Network

0
Rreddysushma994@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024

This example shows a small social network of six people arranged as a force-directed graph. Nodes are drawn as blue circles with name labels, while orange links connect friends, with link thickness reflecting the friendship weight. The visualization uses the D3.js v4 library and its `d3.layout.force` API, loading the data from a local JSON file and rendering with SVG. The layout applies gravity, charge, and distance parameters to position the nodes, and the tick handler updates the node and link positions dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed