Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Q1

Public visualization

Viewing a saved revision (read-only)

f18016855d014fa89c97da2a47ea6124

Activity 7 Q1

0 stars0🌍 Public
Ssumithdugyala@my.unt.edu
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This pie chart visualizes monthly expenditures broken down by department, with each slice colored distinctly and labeled. A corresponding legend on the right displays the department names alongside their numeric expenditure values in dollars. The visualization uses d3.arc to generate pie segments and centroids for label placement, d3.scaleOrdinal to map categories to the color palette, and d3.csv to load the monthly_expenditure dataset from a remote URL.

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.