🌍 Public
Viewing a saved revision (read-only)
f2a1478deb134d07a4618bddc5adfedc
Fork of Pie chart-ice-7
A forked pie chart visualizes the top 10 countries by prisoner counts, with each slice colored distinctly and labeled with values in thousands. It renders an SVG using D3 v5, fetching CSV data from a gist, then uses `d3.pie`, `d3.arc`, and `scaleOrdinal` to generate segments and a legend. The chart also applies `d3.format` for tick labels and custom styling.
AI-generated description