Skip to main content
100%

Activity-8.6.2

✓ Published0🌍 Public
Ppjdhungana@gmail.com
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example shows a social network graph of nine named individuals connected by weighted links. The node-link diagram uses D3's `forceSimulation` engine, combining `forceLink`, `forceManyBody`, `forceCollide`, and `forceCenter` to compute the layout. Each node is a light-green circle rendered with SVG, and links are blue lines with arrow markers. Data sets come from `graph.json`, loaded via `fetch`, and the code uses `scaleOrdinal` for coloring, though not visible in this output.

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