{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the enter, update, and exit phases of D3’s general update pattern using a bowl of fruit. It shows apples and lemons as SVG circles with labels, transitioning through five sequential state changes: adding apples, removing one, mutating a fruit type, and filtering out a specific index. The code uses `selection.merge()`, `selection.exit()`, and `selection.remove()` to handle dynamic data, with ordinal scales for color and radius. Rendering is SVG-based, and data mutations are driven by `setTimeout` callbacks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b272ee3b969746249a64da6acf12c029?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}