Fork of Fork of piechart icetmo7
✓ Published1🌍 Public
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 descriptionMIT Licensed