ICE-8 2B Rithvik Reddy
This example shows a network of seven Texas cities connected by six links, rendered as draggable nodes with labels in an SVG force-directed graph. The visualization uses d3.forceSimulation with forceLink, forceManyBody, and forceCenter to position nodes, while circles and text labels are grouped in SVG <g> elements. Users can drag nodes, which temporarily pins them via fixed x and y coordinates during interaction. The graph uses a Set2 categorical color scale for node fills and a light gray stroke for links, with the simulation updating positions on each tick event.