Skip to main content
100%

Social Network Graph

✓ Published0🌍 Public
LLakshmanRangisetti
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This interactive social network graph visualizes friendships among seven people using a force-directed layout. The D3.js visualization renders nodes as orange circles with name labels and directed arrows for edges, showing connections like David's links to Emma, James, Oliver, Sophia, and Liam. The graph uses `d3.forceSimulation` with link, charge, collision, and center forces to position nodes dynamically. Users can drag nodes to rearrange the network, with hover effects highlighting individual nodes. The example demonstrates D3 v6 imports via UNPKG, JSON data loading, and SVG rendering with mouse event handlers and drag behavior.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes