Skip to main content
Public

Share visualization

Loading preview…

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

3
Vvidhyanamini
Last edited Mar 26, 2022
Created on Mar 26, 2022
Forked from ICE7 Pie Chart

This pie chart displays the revenue distribution for ten beauty products, with each slice sized proportionally to its sales value and colored using the `d3.scaleOrdinal` scheme. A legend on the right lists product names and their formatted revenue values using `d3.format`. The visualization uses `d3.pie` and `d3.arc` to generate SVG paths from the JSON dataset, which is loaded via `d3.json`. The chart renders within an 860×500 SVG, with both the pie and legend positioned explicitly via SVG transforms.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed