Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Rrushithareddyy
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from 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 description

A demonstration of Pie chart.

MIT Licensed

Similar vizzes