🌍 Public
Viewing a saved revision (read-only)
a7ab4e6190d6452da5f672bb854dfa31
Fork of Diabetes Data
A fork of the Pima Indians Diabetes dataset plots BMI against blood glucose levels as a scatterplot, coloring each point red for a positive diabetes outcome and green for a negative one. The visualization loads `data.csv` with `d3.csvParse`, converts all columns to numbers, and renders the chart as SVG using D3 v7 scales, axes, and data joins. The code uses `d3.scaleLinear` for both axes and `d3.extent` to set the domains, producing a static scatterplot without interaction.
AI-generated description