Viewing a saved revision (read-only)
6442a0dc94114e40add5ec729096e3d7
Fork of Pima Indians Diabetes Dataset (Scatter Plot Improved_3)
This scatter plot visualizes the Pima Indians Diabetes dataset, showing BMI and Glucose values for patients, with point color encoding patient age and shape distinguishing diabetic (crosses) from non-diabetic (circles) outcomes. The visualization is faceted by age bin, displaying average Glucose values by outcome for each age group in a bar chart. Users can click scatter plot points to view detailed patient information in a third panel, with all charts sharing consistent color and shape legends. The implementation uses D3.js version 7.6.1, employing `scaleThreshold` for age binning, `scaleOrdinal` for categorical shapes, `scaleBand` for the bar chart, and the `brush` API for interactive selection.
AI-generated description