{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern with special cases: exiting elements shrink to zero, entering elements grow from zero, and existing elements transition smoothly to new positions. Animated fruit (apples and lemons) move within a bowl as items are eaten or replaced over time. The code uses D3 v5 with `selection.data()`, `selection.enter()`, `merge()`, `exit()`, and chained `transition().duration()` calls on SVG circles, text, and rectangles. Updates trigger via JavaScript `setTimeout` events that modify a fruit array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4929eb9c1cf2417e92da07d7d7bef4e3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}