Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
VVenkat-Sumith-Thota
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This pie chart visualizes the count of students in each major at UNT, with proportional slices and a legend displaying major names and student counts. It loads CSV data from a GitHub repository and uses d3.pie, d3.arc, and d3.scaleOrdinal to generate SVG paths with custom colors and value labels. The chart also uses d3.csv for data fetching, d3.format for tick formatting, and local ES6 module imports.

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