Skip to main content
100%

BMI by Age

✓ Published0🌍 Public
Rrushithareddyy
Last edited Jun 26, 2023
Created on Jun 26, 2023
Forked from Hello VizHub

This visualization shows average Body Mass Index (BMI) across age groups, using orange rectangular bins to aggregate individual data points into age intervals. The chart applies the CDC formula (weight in pounds divided by height in inches squared, multiplied by 703) to compute BMI from the loaded dataset. It uses d3.csv for data loading, d3.bin for histogram binning, and d3.scaleLinear with d3.axisBottom and d3.axisLeft to render the axes. The SVG rendering includes gridlines via tick sizing and custom labels for both axes.

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