Skip to main content
100%

ICE 7 Pie chart

✓ Published0🌍 Public
SSreejaBellamkonda
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Pie Chart

This pie chart displays 2022 US auto sales by brand, with each slice sized proportionally to year-to-date sales figures. The chart renders as an SVG with a legend showing brand names and sales totals formatted in thousands. The visualization loads data from a CSV file containing supermarket sales data, though the title references auto sales. Built with D3 v5, the code uses the `pie()` layout, `arc()` generator, and `scaleOrdinal()` for color mapping. Legends are manually positioned using SVG groups, with each entry containing a colored rectangle and text labels for brand and value.

AI-generated description
MIT Licensed

Similar vizzes