Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie chart-ice-7

Public visualization

Viewing a saved revision (read-only)

f2a1478deb134d07a4618bddc5adfedc

Fork of Pie chart-ice-7

0 stars1🌍 Public
SSaiipriiya
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from 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