🌍 Public
Viewing a saved revision (read-only)
febbd7a9008b4ca3bee221739cd0989c
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.