Skip to main content
100%

Assignment 8_Task 2

✓ Published0🌍 Public
KKeerthiAnnem
Last edited Jul 10, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

A pie chart displays the count of students from each major at UNT, with proportional slices labeled in thousands and a legend mapping colors to majors. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.format` to generate SVG paths and text. Data is loaded asynchronously from a CSV hosted on GitHub Gist via `d3.csv`, and the chart renders with custom tick formatting and color-coded legend entries.

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