Skip to main content
100%

Histogram of BMI by Age

✓ Published6🌍 Public
RRidhima Saxena
Last edited Dec 3, 2021
Created on Dec 2, 2021

This histogram displays the average Body Mass Index (BMI) of individuals binned by age, using data from a CDC dataset. The chart shows a general trend of BMI across age groups, with the average BMI per bin calculated from the raw weight and height values. The visualization is built with D3 v7, using `d3.bin` to group data, `d3.scaleLinear` for both axes, and SVG rendering. The axes and grid lines are styled via CSS, with the data aggregated and drawn as indigo rectangles.

AI-generated description

This visualization is a scatterplot of Body Mass Index by gender from the CDC Dataset.

Body Mass Index is calculated using the following formula: [weight (lb) / height (in) / height (in)] x 703

MIT Licensed

Similar vizzes