Skip to main content
100%

Activity8_Task6_Network Graph

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jul 17, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

A social network graph visualizes friend connections among ten people, with nodes labeled by name and linked by directional lines with arrow markers. The network uses D3's force-directed layout (`d3.forceSimulation`) with link distance, charge, collision, and centering forces to position nodes. Nodes are green circles with white strokes that highlight yellow on hover, while links are blue. The data loads from a local `graph.json` file, and the visualization renders entirely as SVG, with drag interactions enabled via D3's `d3.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