Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

bc9bc5a84cbd4d5395f056d32539f78b

Fork of Fork of Pie Chart

0 stars1🌍 Public
Bbindhureddy98
Last edited Mar 26, 2022
Created on Mar 26, 2022
Forked from Fork of Pie Chart

This chart shows 2022 US auto sales by brand as a pie chart with a color-coded legend displaying each brand's name and sales volume in thousands. The visualization loads data from a CSV file hosted on a GitHub gist, then uses the D3.js pie, arc, and scaleOrdinal APIs to generate the chart and legend within an SVG container. Each segment's fill color is mapped based on the brand's year-to-date sales value, and legend values are formatted using the d3.format API.

AI-generated description