Skip to main content
100%

Assignment q2

✓ Published0🌍 Public
BBhargav Reddy
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from D3 Starter

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 description
MIT Licensed

Similar vizzes