Skip to main content
100%

Fork of piechart ic7

✓ Published0🌍 Public
Vvryvarma5577@gmail.com
Last edited Mar 28, 2023
Created on Mar 28, 2023
Forked from piechart ic7

This visualization shows the top 10 car-producing countries in 2019 as a pie chart, with each slice representing a country’s total production value and a legend listing country names alongside their values in thousands. The code loads CSV data via a gist URL using `d3.csv`, then processes it with `d3.pie` and renders SVG paths using `d3.arc`. Colors are assigned via `d3.scaleOrdinal`, and the chart is positioned with SVG transforms. The legend is built manually with circles and text elements, while values are formatted using `d3.format`. The page is styled with custom CSS.

AI-generated description
MIT Licensed

Similar vizzes