Assignment 7 part 2
✓ Published1🌍 Public
This pie chart displays the distribution of students across two groups, with each slice sized by student count and labeled with numeric totals. The visualization uses D3.js v7 to load student_scores.csv, process the data with d3.rollups and d3.pie, and render SVG paths via the d3.arc generator. A categorical color scale distinguishes the groups, while a legend identifies slice colors, and labels are positioned using arc.centroid. The result provides an immediate comparison of group sizes from the dataset.
AI-generated descriptionPie Chart - Assignment 7
This project shows a pie chart using D3.js.
Dataset
File used: student_scores.csv
Visualization
This pie chart shows the number of students in each group.
Explanation
Each slice represents a group. The size of each slice shows how many students are in that group.
Author
Ariful Hasan
MIT Licensed