Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Assignment ICE 7

Public visualization

Viewing a saved revision (read-only)

0222692d389146b9bab107877edfeebe

Fork of Assignment ICE 7

0 stars1🌍 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