{"version":"1.0","type":"rich","title":"q2","description":"This example displays a network graph of a simplified diabetes dataset, connecting three patient nodes (Patient A, B, C) to attribute nodes representing glucose levels, BMI categories, and diabetic outcome. The force-directed layout positions nodes based on simulated physical forces. Built with D3 v7, the visualization uses `d3.forceSimulation` to handle the physics, combining `d3.forceLink` for edges, `d3.forceManyBody` for repulsion, and `d3.forceCenter` for centering. Nodes are colored by group (patient, glucose, BMI, outcome) using `d3.scaleOrdinal` with the `schemeCategory10` palette; node positions update on each simulation tick, rendering with SVG `line` and `circle` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a6f9e0d07825453dabae943476d313e8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}