Skip to main content
100%

Bowl of Fruit - Nested Pattern

✓ Published1🌍 Public
MMunTatt Yap
Last edited Aug 7, 2019
Created on Aug 7, 2019

Five fruits sit in a bowl as circles labeled with their type. The visualization demonstrates D3’s nested enter-update-exit pattern for animating changes to a data set over time. Using `d3.select`, `d3.range`, and custom `fruitBowl` logic, circles transition their radius and color via `transition().duration(1000)`, apples shown in darkred and lemons in yellow. Animated state changes include removing fruit, replacing one type with another, and filtering, all rendered as SVG.

AI-generated description
MIT Licensed

Similar vizzes