Assignment 2 Question 7_Social Network Graph
✓ Published0🌍 Public
This interactive social network graph visualizes friendship ties among eight individuals, using a force-directed layout to position nodes and directional arrows to indicate relationship flow from source to target. The D3.js visualization loads JSON data containing person and friend node types, then applies `d3.forceSimulation` with link, charge, collision, and center forces to arrange the network. Users can drag nodes to reposition them, with hover effects highlighting selected circles. The SVG rendering displays uniformly orange nodes labeled with names, while arrowed links depict directed friendships between people like Jeh, Ali, and Peter.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed