Skip to main content
100%

JS Bin

✓ Published0🌍 Public
663anp3ca
Last edited Sep 23, 2018
Created on Sep 23, 2018

This example visualizes browser market share percentages as a donut chart, with animated arc segments and a delayed legend appearing after the initial render. The chart uses D3 v3’s `pie` layout and `arc` generator to create the donut, while `transition.attrTween` animates each arc’s expansion from zero to its final angle. The code explicitly binds data from an inline array of browser names and percentages, and uses `d3.scale.category10` for colors. A drop shadow filter on the SVG container and a styled widget frame are also present, with the legend and percentage labels added via `append` and `text` elements.

AI-generated description

D3 Circle Graph Example

forked from <a href='http://bl.ocks.org/Jn1532/'>Jn1532</a>'s block: <a href='http://bl.ocks.org/Jn1532/2372196ed6ff15f482d5d4ec1945a575'>D3 Graph Example</a>

forked from <a href='http://bl.ocks.org/EndNight95/'>EndNight95</a>'s block: <a href='http://bl.ocks.org/EndNight95/067595e7ac00830191c16e530ffdd878'>D3 Graph Example</a>

gpl-3.0 Licensed

Similar vizzes