ICE 7 Pie chart
✓ Published0🌍 Public
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 descriptionMIT Licensed