Skip to main content
100%

BMI by Age

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This chart displays average body mass index across different ages using data from a CSV file. It bins the dataset by age and computes each bin’s mean BMI, rendering the results as orange SVG rectangles with white strokes. The visualization uses D3 v7’s `scaleLinear`, `bin`, `area`, `curveBasis`, and `axisBottom`/`axisLeft` APIs, with axes drawn using D3’s axis components. The data is imported via `d3.csv`, and BMI is calculated from height and weight fields before rendering.

AI-generated description

.

MIT Licensed

Similar vizzes