Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

q2

Public visualization

Viewing a saved revision (read-only)

0cf23acc3e6a474384859500721e04af

q2

0 stars0🌍 Public
Vvaishnavgck@gmail.com
Last edited Apr 9, 2025
Created on Apr 9, 2025

This network graph visualizes 20 simulated diabetes patients, connecting those who share the same binary outcome (positive or negative) with gray links. Nodes are colored orange for outcome 1 and blue for outcome 0, with a legend clarifying the encoding. The layout is computed using D3 v7’s `d3.forceSimulation` with `d3.forceLink` and `d3.forceManyBody` forces, rendered as an SVG with labeled patient nodes. Static link and node positions update on each simulation tick, and the dataset is hardcoded in the script.

AI-generated description