Skip to main content
Public

Share visualization

Loading preview…

ICE 7 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

ICE 7 Pie chart

0
SsreepavanKothapalli
Last edited Mar 30, 2023
Created on Mar 29, 2023
Forked from ICE 7 Pie chart

This pie chart displays the top 10 countries by population in 2022, with each slice labeled with its population value and accompanied by a legend showing the country name and corresponding figure. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions to compute slice geometries and assign colors from a hardcoded array. Data is loaded asynchronously from a CSV source via D3’s `csv` method. The chart is rendered as SVG, with a centered title and a legend offset to the right, both styled inline.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed