🌍 Public
Viewing a saved revision (read-only)
9e6d64f10af24851bc007d50dce730c6
ICE-7 Pie chart
This pie chart displays the total sugar content per cereal manufacturer from a remote CSV file. Each slice is labeled with the manufacturer’s name and its percentage of the overall total, while a legend on the right lists each manufacturer with its aggregated sugar sum. The visualization is built with D3 version 7, using `d3.csv` and `d3.autoType` to load and parse the data, `d3.rollups` to group and sum sugar values by manufacturer, and `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with the Tableau10 color scheme to generate the chart. The SVG output includes slice paths with hover tooltips and positioned labels.
AI-generated description