Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Fork of Fork of Pima Indians Diabetes Dataset (Scatter Plot Improved)

Public visualization

Viewing a saved revision (read-only)

23fbf2df8fc148a896f200355550c3a6

Fork of Fork of Fork of Fork of Fork of Fork of Pima Indians Diabetes Dataset (Scatter Plot Improved)

0 stars1🌍 Public

This example presents the Pima Indians Diabetes dataset through a dual-panel visualization: a scatter plot showing BMI against plasma glucose concentration with points colored by age via a sequential inferno scale and shaped by diabetes outcome using `scaleOrdinal` with circle and cross symbols, alongside a bar chart comparing average glucose levels between diabetic and non-diabetic groups. The code uses D3 v7 APIs including `scaleLinear`, `scaleSequential`, `interpolateInferno`, `axisBottom`, `axisLeft`, `symbol`, and `scaleBand`, with data parsed from CSV using `csvParse` and aggregated with `mean`.

AI-generated description