{"version":"1.0","type":"rich","title":"Bowl of Fruit - Animated Transitions","description":"A bowl of fruit demonstrates animated transitions in D3.js v5, showing how SVG circles representing apples and lemons enter, update, and exit smoothly over a one-second duration. Users can click a fruit to select it, which adds a black outline stroke. The code defines a custom `fruitBowl` module using `d3.scaleOrdinal` for color and radius scales, applies `selection.merge()` to coordinate enter and update, and triggers transitions via `transition().duration(1000)` on position, radius, and exit removal. The example also uses `setTimeout` to sequentially eat and replace fruit, updating bound data arrays.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/11ff849cb61c4da3a01ffe038c91604f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}