Skip to main content
100%

Fork of ICE - 7 Pie Chart

✓ Published0🌍 Public
Ccharanchand9
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from ICE - 7 Pie Chart

This visualization displays the count of students from each major at the University of North Texas as a pie chart with a legend. The D3.js code uses `d3.csv` to load data from a GitHub Gist, then applies `d3.pie` and `d3.arc` to generate the chart's segments. Each slice is labeled with a formatted value (e.g., "1.5K") positioned using the arc's centroid. A separate legend lists each major with its corresponding color and student count, using `d3.scaleOrdinal` for color assignment.

AI-generated description
MIT Licensed

Similar vizzes