Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Assignment

Public visualization

Viewing a saved revision (read-only)

38df182e261d4cc38f3d6b1be6f82dbc

ICE 7 Assignment

0 stars0🌍 Public
VVaishnavi6199
Last edited Mar 27, 2022
Created on Mar 27, 2022

A donut chart visualizes the total units purchased for each item in a dataset loaded from a CSV file. Each item's slice is labeled with its unit count, and a legend lists the items with color swatches and their corresponding values. The visualization is built with D3 v5, using the `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` APIs to compute arc segments and assign colors, with SVG rendering for the chart and legend.

AI-generated description