Skip to main content
100%

Pie Chart

✓ Published1🌍 Public
LLakshmanRangisetti
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

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 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