Skip to main content
100%

Fork of Network Graph

✓ Published0🌍 Public
Nnikhitha693
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from Network Graph

This example shows a small force-directed network graph of entities related to a murder case, with seven labeled nodes (such as "Murder," "Victim 1," and "Suspect 1") connected by weighted links. It uses D3 v4’s `d3.layout.force` to position the nodes, with a gravity of 0.05 and charge of -100, while the SVG rendering draws circles and text labels. Link stroke width encodes the weight field from the JSON data, and nodes are draggable via `force.drag`. The graph loads its structure from `graphFile.json`.

AI-generated description
MIT Licensed

Similar vizzes