Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Pie chart

Public visualization

Viewing a saved revision (read-only)

2dd5197feebf4f59b003fec4bd505e00

ICE 7 Pie chart

0 stars0🌍 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