Skip to main content
100%

Fork of Assignment ICE 7

✓ Published1🌍 Public
VVaishnavi6199
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Assignment ICE 7

This pie chart displays the number of units purchased for each item, with values labeled on each slice and a color-coded legend listing items and their corresponding counts. The visualization is built using D3 v5, loading CSV data from a GitHub gist and rendering with SVG. It uses `d3.pie`, `d3.arc`, and `scaleOrdinal` to generate the chart, while the legend is constructed manually with appended rectangles and text elements.

AI-generated description
MIT Licensed

Similar vizzes