Skip to main content
Public

Share visualization

Loading preview…

Pie Chart by Tejaswi Tummala

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

Pie Chart by Tejaswi Tummala

1
Tttummala17
Last edited Jul 1, 2022
Created on Jun 30, 2022
Forked from D3 Starter

A pie chart displays electric vehicle sales for 2021, with each slice labeled as a percentage of total sales and a legend identifying car models. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `scaleOrdinal` to generate SVG paths and text. Data is loaded asynchronously from a CSV URL, and slices are colored by sales values, with labels positioned via `arc.centroid`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed