Skip to main content
100%

DV_ICE-8 Social_Network_graph

✓ Published0🌍 Public
Rrajkumarboddapati2
Last edited Apr 13, 2023
Created on Apr 13, 2023

This example visualizes a small social network as a force-directed graph, showing nine people (nodes) and their connections (links) with varying thickness based on link weight. It uses the D3.js v4 library with the older `d3.layout.force` API to position nodes and handle drag interactions. The SVG renders blue circles with labels, and link widths are scaled using `Math.sqrt(d.weight)`. Data comes from a JSON file containing node names, group assignments, and weighted links, with forces like gravity, charge, and distance controlling the layout.

AI-generated description
MIT Licensed

Similar vizzes