Fork of Histogram of BMI by Age
✓ Published0🌍 Public
This visualization shows the average Body Mass Index (BMI) by age as a bar chart, with each bar representing the mean BMI of individuals grouped into age bins. The bars are rendered as SVG rectangles using D3 v7’s `scaleLinear`, `bin`, and `sum` APIs. Data comes from the CDC dataset, with BMI calculated from weight and height. The chart includes labeled axes, tick marks, and a title, all styled with custom CSS.
AI-generated descriptionThis 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