Fork of Fork of ICE-8:Network graph
✓ Published0🌍 Public
This interactive network graph visualizes relationships between patients and hospital departments using a force-directed layout. The visualization distinguishes node types through color coding—steelblue for patients and lightgreen for departments—with labeled circular nodes connected by gray links. The code employs d3.forceSimulation to compute node positions, combining d3.forceLink for link constraints, d3.forceManyBody for repulsion, and d3.forceCenter for centering. Arrow markers indicate link direction on the SVG canvas, while titles and labels are rendered as SVG text elements.
AI-generated descriptionMIT Licensed