Skip to main content
Public

Share visualization

Loading preview…

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

Pie Chart

3
AAbhinav Kumar
Last edited May 26, 2020
Created on May 26, 2020
Forked from Column Chart

This pie chart displays the population distribution of five countries—China, India, United States, Indonesia, and Brazil—loaded from a local CSV file. Each slice is labeled with the country name, and hovering or clicking a slice triggers a tooltip showing the exact population and country values. The visualization uses D3 v5’s `d3.pie()` and `d3.arc()` to generate the arcs, with colors assigned via `d3.scaleOrdinal` and `d3.schemeCategory10`. The SVG rendering positions the chart at the center of a 960×500 canvas.

AI-generated description

This is a sample d3 Pie chart. This will be later exported to angular.

Comments

Sign in to join the discussion.

MIT Licensed