Pie Chart
✓ Published1🌍 Public
This D3 pie chart visualizes the count of students per major at UNT, using a dataset loaded from a GitHub-hosted CSV file via `d3.csv`. The chart uses `d3.pie` and `d3.arc` to generate SVG arcs, with colors assigned via `d3.scaleOrdinal`. Each slice displays its value in thousands, and a legend lists majors alongside their counts. The visualization is framed by a red title and rendered in an SVG canvas, with styling applied through CSS classes.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed