{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"Five apples appear in a bowl, one disappears, an apple changes into a lemon, and another apple vanishes. The D3 v5 code demonstrates special cases of the general update pattern, using `selection.enter`, `selection.merge`, and `selection.exit` with `transition` to animate the fruit changes. The example uses ordinal scales for color and radius, SVG circles and rectangles, and JavaScript's `Math.random` for fruit IDs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f5cb878e8ff346bbafbae5065192dcce?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}