Pie Chart
This example shows a donut pie chart displaying the distribution of Bitcoin ATMs by continent, with five labeled slices and a color-coded legend. The chart visualizes values for North America, Europe, Asia, South America, and Oceania using a static dataset defined in the HTML. A tooltip appears on hover, showing each slice’s label, count, and percentage. Clicking a legend entry disables the corresponding slice via animated transitions using d3.layout.pie, d3.svg.arc, and transition.attrTween, while SVG renders the chart and legend.