Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Firoze_T1Q1

Public visualization

Viewing a saved revision (read-only)

69636fe02c724076a6cec33dc49cb251

Firoze_T1Q1

0 stars0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

This pie chart displays the count of students from each major at UNT, with each slice colored distinctly and labeled with its numeric value. A legend on the right identifies the corresponding major for each color. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.csv` to load and process the data, rendering the chart as SVG elements with appended `path` and `text` nodes. The data is fetched from a GitHub gist containing the student counts.

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.