Skip to main content
100%

Pima Indians Diabetes Dataset (Scatter Plot Improved)

✓ Published2🌍 Public

This visualization combines a scatter plot and bar chart to explore the Pima Indians Diabetes dataset. The scatter plot maps BMI and glucose concentration, using color to encode age and shape (circle vs. cross) to distinguish diabetic outcomes, while the bar chart shows average glucose by outcome. The code uses d3.csvParse to load data, d3.scaleLinear for positioning, d3.scaleSequential with interpolateInferno for the color scale, and d3.symbol for shape encoding. The bar chart employs d3.scaleBand and d3.max for aggregation.

AI-generated description
MIT Licensed

Similar vizzes