Skip to main content
100%

Fruitbowl V2 transitions

✓ Published0🌍 Public
Aarths-glitch
Last edited May 31, 2020
Created on May 23, 2020

Five apples animate into a row, then shrink away one by one as fruits are eaten or replaced by a lemon. The example demonstrates shared transitions for both entering and exiting circles via `selection.merge` and `selection.exit`. Built with d3 v5, it uses `scaleOrdinal` for color and radius, `transition.attr` with a 1000ms duration, and data joins keyed by `d.id`.

AI-generated description
MIT Licensed

Similar vizzes