🌍 Public
Fork of Pie Chart
This pie chart displays the distribution of student counts across different majors at UNT, with each slice labeled with its value and a color-coded legend showing major names alongside student counts. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions to compute slice geometry and assign colors, rendering paths and text labels in SVG. Data is loaded asynchronously from a CSV file via `d3.csv`, with values formatted using `d3.format`.
AI-generated descriptionA demonstration of Pie chart.
MIT Licensed
Comments
Sign in to join the discussion.