Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

eedcaf51026241c08a888a1a712b7fcf

Fork of ICE 7 Pie Chart

0 stars1🌍 Public
RRahulSai05
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE 7 Pie Chart

This D3.js pie chart displays the top 10 car-producing countries in 2019, using a dataset loaded from a CSV file via `d3.csv()`. The chart uses a pie layout from `d3.pie()` with custom arc segments, while a scaleOrdinal color palette distinguishes each country. A custom legend, built with SVG circles and text, shows country names alongside their production values formatted in thousands. The visualization is rendered entirely as SVG, with the pie centered in a 960×500 canvas and styled via external CSS.

AI-generated description