Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot of Body Mass Index for Males and Females

Public visualization

Viewing a saved revision (read-only)

f0db3eb2c833488a8f84c8dc42641017

Scatterplot of Body Mass Index for Males and Females

0 stars2🌍 Public

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 description

This 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