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.
AI-generated descriptionPie Chart with Zoomable sectors and tooltips
forked from <a href='http://bl.ocks.org/arpitnarechania/'>arpitnarechania</a>'s block: <a href='http://bl.ocks.org/arpitnarechania/577bd1d188d66dd7dffb69340dc2d9c9'>Pie Chart</a>
forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/c5f772c8bb7e8d16e4dd0dc61e86f22a'>Pie Chart</a>
forked from <a href='http://bl.ocks.org/Ljfernando/'>Ljfernando</a>'s block: <a href='http://bl.ocks.org/Ljfernando/ba12e64add1ae55caf933300c44dfa9e'>Pie Chart</a>