Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_7.1

Public visualization

Viewing a saved revision (read-only)

c1fc2e9e256f41c597029f330abe942f

Activity_7.1

0 stars1🌍 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.