Skip to main content
100%

Activity7.1_Question1

✓ Published0🌍 Public
Vvidyagangasani@my.unt.edu
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This visualization shows fruit sales data as a pie chart with a legend and axis labels, comparing sales across five fruit types. It loads data from a CSV file via `d3.csv`, then uses `d3.pie()` and `d3.arc()` to generate SVG paths for each slice. A `d3.scaleOrdinal` with `d3.schemeCategory10` colors the arcs, and the chart is rendered as an SVG in a 600x400 viewport. The markup is created with D3 v7 selections and appends.

AI-generated description
MIT Licensed

Similar vizzes