{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern for handling special cases in data visualization. It shows a bowl of fruit where apples are added, removed, and replaced with lemons over time, using transitions that respond to changes in the underlying data array. The visualization uses D3 version 5 with SVG rendering, employing `scaleOrdinal` for both color and radius scales, and the `selectAll`/`enter`/`merge`/`exit` pattern to manage group elements. The code uses `setTimeout` to trigger sequential data modifications, then re-renders the scene to reflect each change.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ce9ef1d56c6f4f54af35bd35bcecc1ed?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}