Skip to main content
Public

Share visualization

Loading preview…

Social Media Network - Assignment 8

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

Social Media Network - Assignment 8

0
AAKSHAY
Last edited Nov 9, 2025
Created on Nov 9, 2025
Forked from D3 Starter

This interactive network graph maps connections among six social media platforms—Facebook, Instagram, WhatsApp, YouTube, Twitter, and LinkedIn—with color-coded nodes and labeled links. Users can drag nodes to rearrange the layout while a force-directed simulation continuously repositions elements. Built with D3 v7, the visualization uses `d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to compute the graph’s geometry, rendering nodes as SVG circles and links as lines. The data is defined inline as JavaScript arrays within the module.

AI-generated description

Social Media Network Visualization

A D3.js visualization showing the network connections between major social media platforms.

Features

  • Interactive network graph with 6 social media platforms
  • Nodes represent different platforms: Facebook, Instagram, WhatsApp, YouTube, Twitter, and LinkedIn
  • Color-coded nodes for easy distinction
  • Connection lines show relationships between platforms
  • Draggable nodes for interactive exploration
  • Force-directed layout for optimal node positioning

Platforms Included

  • Facebook (Red) - connects to Instagram and WhatsApp
  • Instagram (Blue) - connects to Facebook and YouTube
  • WhatsApp (Green) - connects to Facebook
  • YouTube (Purple) - connects to Facebook, Instagram, and Twitter
  • Twitter (Orange) - connects to LinkedIn and YouTube
  • LinkedIn (Cyan) - connects to Twitter

How to Use

  1. Open index.html in a web browser
  2. Hover over nodes to see interaction effects
  3. Click and drag nodes to reposition them
  4. The network will automatically layout using force-directed simulation

Comments

Sign in to join the discussion.

MIT Licensed