{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"An animated bowl of fruit demonstrates D3’s general update pattern, showing five fruits that disappear or change type over time. The SVG visualization uses a single reusable `fruitBowl` function, which binds data arrays to `g` groups via `selection.data()`, then handles enter, update, and exit selections with `enter().append()`, `merge()`, and `exit().remove()`. Fruit appearance relies on `scaleOrdinal` color and radius scales, while timed `setTimeout` calls trigger data mutations—removing apples or replacing one with a lemon—to illustrate smooth transitions in the rendered circles and labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a437a5670fb840cab29fb216fe89c1ca?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}