{"version":"1.0","type":"rich","title":"Fruit - Update Pattern - Nested","description":"Five fruit bowls render as SVG circles and labels, using an update pattern to animate changes to the data array. The example cycles through eating apples and replacing one apple with a lemon, with transitions on position, fill color, radius, and text. The code uses D3 v5 selections with enter, merge, and exit, applying `transition().duration()` for staggered animations. Fruits are generated randomly, and nested selection patterns handle updates to circles and text elements within each group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/023b30fa747344b9b3998420df4eeea8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}