Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
NNagateja99
Last edited Jul 13, 2023
Created on Jul 13, 2023
Forked from Hello VizHub

This pie chart displays the distribution of student counts across different majors at the University of North Texas. The visualization uses a D3 arc generator to create pie segments, with each section labeled inside and accompanied by a legend showing the major name and corresponding student count. The chart loads data from a CSV file hosted on GitHub Gist and uses D3's `scaleOrdinal` for color assignment. The implementation imports specific D3 functions including `pie`, `arc`, and `scaleOrdinal` to generate the SVG-based chart.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes