Skip to main content
100%

Area Chart of BMI by Age

✓ Published1🌍 Public
RRidhima Saxena
Last edited Nov 27, 2021
Created on Nov 19, 2021
Forked from Area Chart

This visualization shows the relationship between age and Body Mass Index (BMI), displaying BMI as a filled area chart across age values. The chart uses a smooth curve (via d3.curveBasis) to connect data points, with the area filled in maroon, and includes labeled axes for Age and Body Mass Index. The data comes from a CDC dataset accessed through a public GitHub gist, with BMI calculated from height and weight fields using the formula weight (lb) / height (in)² × 703. The rendering uses d3.select, d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, d3.area, and d3.extent, all within an SVG canvas.

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