🌍 Public
Viewing a saved revision (read-only)
a96a9b8517bd48589679c6db7df0631d
Fork of Fork of piechart icetmo7
This example shows the top 10 dog breeds by maximum male height using a pie chart. The chart displays each breed as a colored arc with a corresponding legend listing breed names and height values. Built with D3.js v5, it loads CSV data from a GitHub gist, uses `d3.pie` and `d3.arc` to compute and render the segments, and `d3.scaleOrdinal` for color mapping. Legends are positioned manually with SVG circles and text, while the total value is formatted using `d3.format`.
AI-generated description