{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern for dynamic data visualization, using a bowl of fruit that changes over time. Five apples appear initially, then one is removed, another becomes a lemon, and a second apple disappears. The visualization uses D3 v5 with SVG rendering, where the `fruitBowl` function handles enter, update, and exit states for the circles. The code leverages D3's `scaleOrdinal` for color and radius mapping, while `selection.selectAll` and `.merge` manage incremental updates to the visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f4819c5b1213423baf5e6e9f9abb67f8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}