Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Harsha_Palacharla_GenderVsBloodSugar

Public visualization

Viewing a saved revision (read-only)

03bac903595047d79e75a2b630db799b

Harsha_Palacharla_GenderVsBloodSugar

0 stars0🌍 Public
Nnagasuryaharsha999@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025

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 description