Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 22, 2023
Created on Jul 22, 2023

This pie chart displays the distribution of students across different majors at UNT, presenting each major as a colored slice with a numeric label and a matching legend. Built with D3 v5, the visualization uses `d3.pie` to compute arc segments and `d3.scaleOrdinal` for color assignment, while the SVG output is generated through `d3.arc` for geometric shapes and `d3.format` for tick labels. Data is loaded from a CSV file fetched via `d3.csv`, and the chart is centered within an SVG canvas with legends positioned to the right.

AI-generated description
MIT Licensed

Similar vizzes