{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"A bowl of five apples is drawn as SVG circles; over time, apples are eaten and one is replaced by a lemon, demonstrating D3’s general update pattern special cases. The code uses `selection.selectAll`, `.enter().append`, `.merge`, and `.exit().transition()` to animate radius and fill changes, while employing ordinal scales for color and size. The coordinates are computed via an `xPosition` helper that spaces circles horizontally.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4616c52289884789bd997925b17e5a9a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}