Skip to main content
100%

BMI by Age

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

This scatterplot visualizes Body Mass Index (BMI) by age using CDC data, binning individual records into age groups and displaying the average BMI for each bin as green rectangles. The chart shows how average BMI trends across the age range, with axes labeled "Age" and "Average Body Mass Index." The visualization uses D3 v7 with ES6 module imports, leveraging `d3.bin`, `scaleLinear`, `axisBottom`, and `axisLeft` to compute bins, scales, and render SVG axes. The BMI values are calculated from weight and height fields using the standard formula, and the rendering is done entirely in SVG.

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