Skip to main content
Public

Share visualization

Loading preview…

ICE - 7 Pie Chart Reyden Harris

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

ICE - 7 Pie Chart Reyden Harris

0
RReyden Harris
Last edited Mar 13, 2023
Created on Mar 13, 2023

This pie chart displays the percentage of sales contributed by each department within a global conglomerate. The visualization uses d3.pie and d3.arc to generate the slices, with a legend listing each department and its corresponding percentage. Data is loaded from a remote CSV file using d3.csv, and d3.scaleOrdinal maps categorical values to a predefined array of colors. The SVG rendering includes labels positioned at each slice’s centroid via arcGenerator.centroid, with the main chart centered at (250, 250) and the legend placed to the right.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed