Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 7 part 2

Public visualization

Viewing a saved revision (read-only)

ffcf58b838bc4496939babebfb120dfd

Assignment 7 part 2

0 stars1🌍 Public
AAriful Hasan
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from Assignment 7

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 description