{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"Five circles representing apples shrink away and are replaced as a lemon appears, demonstrating D3's general update pattern through enter, update, and exit selections. The example uses `scaleOrdinal` for fruit type colors and radii, with `transition().duration(1000)` animating circle resizing and removal. Data flows through `data(fruits, d => d.id)` keyed by random IDs, while the `fruitBowl` function manages the merge and exit transitions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d53419d7847c4a5a915d1ec011c9d403?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}