Skip to main content
100%

JS Bin

✓ Published0🌍 Public
JJn1532
Last edited Mar 21, 2018
Created on Mar 21, 2018

A donut chart displays browser market share percentages for IE, Chrome, Safari, Firefox, and Others, rendered as animated SVG paths that grow outward from the center. The visualization uses d3.layout.pie with a pad angle and d3.svg.arc to construct the rings, with d3.scale.category10 assigning colors per category. Upon loading, each path transitions over one second via transition.attrTween, interpolating from zero angles to its final slice, while a legend and percentage labels fade in afterward. The chart is styled with a dark widget background and drop-shadow filter from the accompanying CSS.

AI-generated description

D3 Circle Graph Example

gpl-3.0 Licensed

Similar vizzes