🌍 Public
Viewing a saved revision (read-only)
ee66d2c0595f41a29690b74a9d8f1ad0
Fork of 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