{"version":"1.0","type":"rich","title":"Bowl of Fruit - Nested Update Pattern!","description":"This example demonstrates the nested update pattern in D3.js, showing a bowl of fruit that changes over time as apples are eaten and one is replaced by a lemon. The visualization uses a React-friendly approach with `selectAll` and `merge` to handle enter, update, and exit selections for groups, circles, and text elements. The code uses `scaleOrdinal` for color and radius mappings, and triggers updates via `setTimeout` to modify the fruits array. Rendering is done with SVG elements within a 960x500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/444d006539d041a88dde727a241b35a1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}