Skip to main content
100%

Assignment - 8 - 2.3

✓ Published0🌍 Public
AAriful Hasan
Last edited Apr 12, 2026
Created on Apr 12, 2026

A conceptual network graph visualizes six Texas cities as colored nodes and their routes as links. Using the D3.js library, the visualization employs `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to position the elements, while a `d3.scaleOrdinal` color scale distinguishes three city groups. Nodes are draggable via `d3.drag()`, and all elements—circles for nodes, lines for links, and text labels—are rendered as SVG. The graph runs a physics simulation to spread cities, with labels offset below each node, and the data is defined inline in `index.js`.

AI-generated description
MIT Licensed

Similar vizzes