{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3.js v5 by animating a bowl of fruit, where apples and lemons are added, removed, or changed over time. The visualization renders SVG circles and text labels using D3's data join (`selection.data`, `enter`, `merge`, `exit`) to handle data changes. It uses `scaleOrdinal` for color and radius mappings, and each timed update (via `setTimeout`) shows how existing elements are updated or removed. The code directly manipulates an array of fruit objects to trigger the update cycles.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fb794a18808f4d48b357a643edd52729?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}