Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-8 2B Rithvik Reddy

Public visualization

ICE-8 2B Rithvik Reddy

0 stars1🌍 Public
RRithvik
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from HTML Starter

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.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed