🌍 Public
Viewing a saved revision (read-only)
e53057ca9fa84677a321988169b6c4c1
Pima Indians Diabetes Dataset (Scatter Plot Improved_1)
Sskasliwal@wpi.edu
Last edited Oct 18, 2025
Created on Oct 18, 2025
The visualization presents the Pima Indians Diabetes dataset as a dual-panel scatter plot, mapping BMI and Glucose levels while encoding patient age through a red sequential color scale and diabetes outcome via point shape (circles for non-diabetic, crosses for diabetic). A secondary bar chart displays average glucose by outcome. Users can filter points by age bins, which adjusts opacity based on a selection set. The implementation uses D3's scaleThreshold for binning, scaleLinear for axes, and the join method for incremental updates.
AI-generated description