Skip to main content
100%

Social Network graph

✓ Published0🌍 Public
DDineshK2602
Last edited Apr 12, 2023
Created on Apr 12, 2023
Forked from HTML Starter

This example uses a force-directed network graph to visualize a social network of nine people and their relationships. The visualization shows connections as blue lines whose thickness corresponds to the weight of each relationship. Nodes are rendered as circles with red borders, and each person’s name is displayed adjacent to their node. The layout uses `d3.layout.force` (a force simulation API) to position nodes, with drag interaction enabled via `force.drag`. Data is loaded from an external JSON file (`graph.json`) and rendered as an SVG, with styling applied through CSS.

AI-generated description
MIT Licensed

Similar vizzes