{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3 with special cases for enter, update, and exit selections. A bowl of fruit animates through a sequence of state changes: five apples appear, one is eaten, an apple becomes a lemon, and another apple is removed. The visualization uses d3.scaleOrdinal for color and radius mapping, with SVG circles and text elements bound to data arrays. Each update triggers a re-render of the fruit bowl, showing how D3 handles data joins with key functions and merges selections.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dca7e76af9eb418fbf5d2d095fd72939?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}