Skip to main content
100%

Fork of ICE 7 Pie Chart

✓ Published0🌍 Public
RRahulSai05
Last edited Mar 29, 2022
Created on Mar 29, 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
MIT Licensed

Similar vizzes