{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"A bowl of fruit demonstrates the D3.js general update pattern, animating a dataset of apples and lemons as it changes over time. The example shows how to bind fruit data to SVG groups, using `scaleOrdinal` for color and radius, and entering, updating, and exiting elements seamlessly. Through a series of timed interactions, an apple is eaten, one is replaced with a lemon, and another is removed, highlighting how `selection.merge`, `selection.enter`, and `selection.exit` manage DOM updates. The visualization renders with SVG shapes and transitions based on a row of fruit in a bowl.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dc0faf72c3394f919efad38b6fcc3404?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}