🌍 Public
Viewing a saved revision (read-only)
0cde5f1fcf274257ae4401611f7ac58c
Fork of ICE 7
A donut chart visualizes the top 10 countries by electronic sales, with each slice's label showing the sales value in thousands and a legend listing countries and their corresponding sales figures. The chart uses D3 v5's `pie`, `arc`, and `scaleOrdinal` functions to compute slice geometry and assign a fixed color palette, rendering as SVG with `path` elements. Sales data is fetched as CSV from a GitHub gist and aggregated to calculate the total.
AI-generated description