Assignment q2
✓ Published0🌍 Public
This visualization displays a pie chart comparing average total scores by gender, computed from the StudentsPerformance 2.csv dataset. It uses D3 v7’s `d3.pie` and `d3.arc` to generate slices, with each gender’s average of math, reading, and writing scores aggregated via `d3.group` and `d3.mean`. The SVG rendering includes animated slice transitions through `transition.attrTween`, hover tooltips, and a legend, with a blue-red color scale distinguishing male and female results.
AI-generated descriptionMIT Licensed