{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the \"general update pattern\" special cases in D3 by animating a bowl of fruit. The visualization shows a sequence of changes to a data array—removing the last or a middle element, and updating an item's type—and how the SVG scene updates to reflect them. The code uses `d3.select` and a custom `fruitBowl` function to manage the SVG elements. It relies on `scaleOrdinal` for color and radius mappings, and appended `rect`, `circle`, and `text` elements to render the bowl and fruits.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ab2c968e977b48898d670ae498841430?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}