Skip to main content
100%

q2-ice7

✓ Published0🌍 Public
Ssaiprasadpilla937@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This pie chart shows the distribution of students by their test preparation course status, dividing them into "completed" and "none" groups with counts displayed on each slice. The visualization uses D3 v7 to load CSV data via `d3.csv`, aggregate counts with `d3.rollup`, generate the pie geometry through `d3.pie()` and `d3.arc()`, and render slices as SVG paths with an ordinal color scale. Labels are positioned using `arc.centroid`, and a legend is built manually with SVG rectangles and text elements alongside the chart.

AI-generated description
MIT Licensed

Similar vizzes