Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

c5997cc23d5b45fe9126c351be1048ad

Fork of Fork of ICE 7 Pie Chart

1 star0🌍 Public
Bbindhureddy98
Last edited Mar 28, 2022
Created on Mar 28, 2022

This pie chart visualizes the top 10 car-producing countries in the world based on 2019 data. It displays the total production value for each country as a proportional slice, with a legend identifying each country by name and value. The chart uses D3.v5’s `pie`, `arc`, and `scaleOrdinal` APIs to compute and render the SVG segments. Data is loaded from a CSV file via `d3.csv`, and the chart is positioned using `svg.append` with a translate transform. Colors are assigned from a custom range, and legend values are formatted using `d3.format`.

AI-generated description