🌍 Public
Viewing a saved revision (read-only)
31c0405221b34965abc6b95ceab1180c
Question 2
This area chart displays the relationship between age and BMI in a diabetes dataset, with age on the x-axis and BMI on the y-axis. The visualization encodes the data as a single filled area, using a steelblue fill to represent the trend of BMI values across increasing ages. The code loads CSV data from a GitHub Gist and sorts it by age before rendering. It employs D3.js v7’s `d3.area`, `d3.scaleLinear`, and axis components to construct the SVG chart.
AI-generated descriptionA responsive scatter plot.