🌍 Public
Viewing a saved revision (read-only)
a5a5177a53614c138fc71a1daed7b233
Assignment 2 social network graph
This example shows a small social network graph with six named nodes connected by weighted links. The graph is rendered as an SVG using D3.js v4, with the force layout provided by `d3.layout.force`, which handles node positioning and dragging. Node labels appear to the right of each circle, and link thickness reflects each connection’s weight value. The data is loaded from a local `graphFile.json` file, and the network is interactive, allowing users to drag nodes and reposition the layout.
AI-generated description