Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of 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

Fork of Fork of ICE 7 Pie Chart

1
Ppremsaiv
Last edited Mar 29, 2022
Created on Mar 29, 2022

This visualization displays a pie chart of the top 10 car-producing countries in 2019, with a legend listing each country and its total production value in thousands. The chart uses D3 v5’s `pie` and `arc` generators to compute segment angles and render SVG paths, while a `scaleOrdinal` assigns categorical colors to each slice. Data is loaded from a CSV file via `d3.csv` in the `getData` module, and legends are built with SVG circles and text elements. The chart also formats values using `d3.format`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed