Skip to main content
100%

Social Network Graph

✓ Published0🌍 Public
Ssuryavamsi00024
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Hello VizHub

This interactive social network graph visualizes friend relationships among eight individuals using a force-directed layout. The visualization employs D3’s forceSimulation with link, charge, collision, and center forces to arrange nodes, while edges with arrow markers indicate directed friendships. Users can drag nodes, and hovering highlights connections through CSS class changes. The code loads data from a local JSON file and renders the network as SVG elements, including circles for people and labeled text, using D3 v6.

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