Fork of BMI by Age
✓ Published1🌍 Public
This fork of the BMI by Age visualization displays a scatterplot of Body Mass Index values from a CDC dataset. The chart separates data points by gender, illustrating the distribution of BMI across different ages. The code imports data from a CSV file and uses D3's `csvParse` function to process it, while the rendering is handled through SVG elements. The visualization relies on D3.js v7 for data manipulation, including the `flatRollup` and `sum` functions to calculate average values for display alongside the plot.
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