Scatterplot of Body Mass Index for Males and Females
✓ Published2🌍 Public
RRidhima Saxena
Last edited Dec 9, 2021
Created on Nov 27, 2021
This scatterplot displays the relationship between age and body mass index (BMI) for males and females, using data from a CDC dataset. Each point is colored by gender via a d3.scaleOrdinal, with BMI computed from weight and height. The visualization is built with React and d3.v5, rendering SVG circles, axes, and a color legend. Axes and marks are generated using scaleLinear and custom React components, with loading states handled asynchronously.
AI-generated descriptionThis visualization is a scatterplot of age vs. body mass index distinguised by gender from the CDC Dataset.
Body Mass Index is calculated as: weight (lbs) /height (in) /height (in) * 703
MIT Licensed