Skip to main content
100%

Fork of Fork of ICE 7 Pie Chart

✓ Published1🌍 Public
Ppremsaiv
Last edited Mar 29, 2022
Created on Mar 29, 2022

This visualization displays a pie chart of the top 10 car-producing countries in 2019, with a legend listing each country and its total production value in thousands. The chart uses D3 v5’s `pie` and `arc` generators to compute segment angles and render SVG paths, while a `scaleOrdinal` assigns categorical colors to each slice. Data is loaded from a CSV file via `d3.csv` in the `getData` module, and legends are built with SVG circles and text elements. The chart also formats values using `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes