🌍 Public
Viewing a saved revision (read-only)
887688b4d3bf4479bd98d52207c7382d
Pie chart , ICE-7
A pie chart displays the top ten weekly product sales in a shop, with each slice sized by the `weeksales` value and colored via `d3.scaleOrdinal`. The code loads CSV data from a GitHub gist using `d3.csv`, computes the pie layout with `d3.pie`, and draws SVG paths with `d3.arc`. Slice labels show formatted sales values, and a legend lists product names with matching colors and values.
AI-generated descriptionA bare minimum HTML page.