Skip to main content
100%

Activity_7.1

✓ Published1🌍 Public
TThai Ha Dang
Last edited Nov 2, 2024
Created on Nov 1, 2024

This pie chart displays the number of University of North Texas students by major, with each slice labeled with its count in thousands and percentage of the total. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate SVG paths and color-coded segments, with a legend positioned to the right. Major names and student counts come from an external CSV file loaded via `d3.csv`, and labels are formatted using `d3.format`.

AI-generated description

A demonstration of Pie chart.

MIT Licensed

Similar vizzes