Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of Fruit - Nested Pattern

Public visualization

Bowl of Fruit - Nested Pattern

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed