Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
LLjfernando
Last edited Jan 10, 2018
Created on Jan 10, 2018

A donut chart displays the number of Bitcoin ATMs across five continents, with a legend for toggling categories. Built with D3 v3, it uses `d3.layout.pie` for arc generation and `d3.svg.arc` for the donut shape. Hovering reveals a tooltip with the label, value, and percentage, while clicking a legend item triggers animated transitions via `transition.attrTween` to interpolate arc geometry, disabling or re-enabling slices. The chart is rendered as SVG with custom CSS styling.

AI-generated description

Pie 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>

mit Licensed

Similar vizzes