Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of 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 Fork of Fork of Pie Chart

0
Yyaswanthsen
Last edited Mar 10, 2023
Created on Mar 10, 2023

This pie chart displays 2022 US auto sales by brand, sourced from a CSV file hosted on GitHub, with each brand’s YTD sales shown as a colored segment and corresponding legend values in thousands. The visualization uses D3 v5, leveraging `d3.pie` and `d3.arc` to compute the chart geometry, `d3.scaleOrdinal` for the categorical color palette, and SVG `path` elements for rendering. Legends are constructed manually with `rect` and `text` elements, while numerical formatting employs `d3.format` to display abbreviated values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed