Skip to main content
100%

Activity 7 Question 2

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes