Harsha_Palacharla_GenderVsBloodSugar
✓ Published0🌍 Public
This bar chart compares the average blood sugar levels between male and female subjects from a health dataset loaded via `d3.csv`. It displays two bars, with steelblue bars that turn orange on hover, positioned along a band scale for gender and a linear scale for average blood sugar in mg/dL. The visualization uses D3 v7’s `d3.rollup` to aggregate the data and `d3.mean` to compute averages, with axes labeled for gender and blood sugar. The SVG-based chart is rendered with `d3.axisBottom` and `d3.axisLeft` for clean, labeled axes.
AI-generated descriptionMIT Licensed