{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern","description":"A fork of the Bowl of Fruit example demonstrates the general update pattern for adding, removing, and updating SVG elements in D3.js. The animation shows five red apples arranged in a row, which then shrink and disappear as one apple is eaten, one apple is replaced by a yellow lemon, and a second apple is removed. The code uses D3's ordinal color and radius scales to differentiate fruit types, while the `selection.selectAll`, `.enter()`, `.merge()`, and `.exit()` chain manages the circle elements. Each update triggers a 1000-millisecond transition that shrinks exiting circles to zero radius before removal.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2723b3d2d2774808a6d912a9c6deedc1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}