{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example animates a set of fruit shapes in an SVG bowl, demonstrating special cases of D3’s general update pattern: removing the last item, modifying an existing item’s type, and filtering out a middle item. The visualization uses `d3.scaleOrdinal` to map fruit types to colors and radii, with `selection.enter`, `merge`, and `exit` to manage entering, updating, and leaving circles and text labels. The code relies on `d3.select` and `setTimeout` for timed transitions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/39bc1c01eae042d2a01d1796eed6bc8f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}