🌍 Public
Viewing a saved revision (read-only)
cb3753375294468885f2ff6c27026d8a
STarda - Activity 9 - Question 1
This example shows a pie chart displaying program contributions to tuition revenue, with dollar amounts abbreviated in thousands and a color-coded legend identifying each program. The visualization is built with D3 v6, using `d3.csv()` to load billing data from a remote GitHub CSV file, `d3.group()` and `d3.sum()` to aggregate billing by program, and `d3.pie()` with `d3.arc()` to generate the arcs. Labels are positioned at arc centroids, and the SVG output includes a bold title and formatted text elements for clarity.
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.