sample 3
✓ Published0🌍 Public
Two side-by-side donut charts show grade distribution (A–F) for male and female students, with a tooltip revealing count, depression level, and percentage for each grade. The visualization uses D3 v7’s `d3.pie`, `d3.arc`, and `.join` to render SVG paths and labels. Hovering expands a slice via `arcHover` while an HTML tooltip follows the cursor. Data is hardcoded in JavaScript arrays, and a horizontal legend maps grades to a categorical color scale.
AI-generated descriptionMIT Licensed