🌍 Public
Viewing a saved revision (read-only)
fa80750b96374ed28e93232d38f4584d
Activity 7 Question 2
This area chart displays the average BMI across 5-year age bins, based on a diabetes dataset from a GitHub repository. The visualization groups individuals by age and calculates the mean BMI for each group, showing the relationship between age and body mass index. Built with D3.js v6, the chart uses `d3.rollups` to bin data, `d3.mean` for aggregation, and `d3.area` to generate the filled path. SVG axes are rendered with `d3.axisBottom` and `d3.axisLeft`, with linear scales mapping age and BMI values.
AI-generated description