{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3, showing how a bowl of fruit changes over time as items are removed and modified. A title sequence plays a video, then five apples appear in a bowl, followed by an apple disappearing, another turning into a lemon, and a second apple being removed. The code uses `d3.scaleOrdinal` for color and radius mapping, with explicit `enter`, `merge`, and `exit` selections to handle data joins. SVG circles and text elements are bound to a fruit array, and updates are triggered by `setTimeout`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f48150ae69c74fbdba84a4aae55d2782?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}