Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Question 1

Public visualization

Viewing a saved revision (read-only)

f3ff6c16fd99401f972e1531df0b4875

Activity 7 Question 1

0 stars1🌍 Public
MMahimaChowdaryKasthala@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This visualization shows a pie chart of fruit quantities, with each slice labeled by fruit name and a color-coded legend on the left. It uses D3 v7 to load CSV data from a GitHub gist, calculating the arc paths with `d3.pie` and `d3.arc`. The chart includes fake X and Y axis labels for display, and text elements are positioned using `arc.centroid`. Colors come from `d3.scaleOrdinal` with `schemeCategory10`.

AI-generated description