Skip to main content
100%

Arc Corners III

✓ Published0🌍 Public
Mmbostock
Last edited Dec 19, 2022
Created on Nov 20, 2014

Two donut charts display the same Fibonacci sequence as a series of arcs. One chart uses straight-edged arc segments, while the other animates its corner radius between zero and the maximum possible, transitioning from sharp to fully rounded corners. The animation uses a cubic-in-out easing over 2.5 seconds. The code uses `d3.layout.pie` and `d3.svg.arc` with its `cornerRadius` method, rendering to SVG with `d3.select`, `d3.timer`, and the `d3.ease` function.

AI-generated description
gpl-3.0 Licensed

Similar vizzes