Skip to main content
100%

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

✓ Published1🌍 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
MIT Licensed

Similar vizzes