Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Pie Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of Pie Chart

1
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

Comments

Sign in to join the discussion.

MIT Licensed