🌍 Public
Viewing a saved revision (read-only)
2145947c5be14c06be7f97e3e8854178
AREA PLOT
This area plot visualizes average study hours by age, showing the range between minimum and maximum study hours for each age group in light blue. The chart uses D3.js v7 to load CSV data from a remote gist, group records by age, and compute summary statistics including mean, min, and max study hours. The code employs `d3.area()` to generate the filled region between the min and max values, with `d3.scaleLinear` axes and an SVG-based legend. The data is fetched asynchronously via `d3.csv()` and rendered within an 800×400 pixel SVG container.
AI-generated description