Skip to main content
Public

Share visualization

Loading preview…

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

0
Kkakumanusreya
Last edited Mar 28, 2023
Created on Mar 28, 2023
Forked from Pie Chart

This pie chart visualizes 2022 US auto sales by brand, using a dataset loaded from a GitHub gist via `d3.csv`. The chart displays each brand's market share as a colored slice, with a legend on the right showing the brand name, its percentage of total sales, and its sales in thousands. Built with D3 version 5, the visualization uses `d3.pie` and `d3.arc` to generate the SVG paths, `d3.scaleOrdinal` for color assignment, and custom text elements for the legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed