Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Viewing a saved revision (read-only)

dcd222e733814cd59ffcc4ce436eb883

Pie Chart

0 stars0🌍 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