Skip to main content
100%

Fork of PieChart ICE7

✓ Published0🌍 Public
SSravaniPosina
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from PieChart ICE7

This pie chart shows the top 10 car-producing countries in the world for 2019, with each slice colored and labeled in a legend that includes the country name and its production value in thousands. Built with D3 v5, the visualization loads CSV data from a GitHub gist using `d3.csv`, calculates totals per country, and renders the chart as SVG paths using `d3.pie` and `d3.arc`. A `d3.scaleOrdinal` assigns colors to the slices, while the legend is manually positioned with appended circles and text elements.

AI-generated description
MIT Licensed

Similar vizzes