{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"The example demonstrates the general update pattern in D3 by animating changes to a bowl of fruit, showing apples and lemons as colored circles with labels. It uses D3 v5's `data()` with enter, update, and exit selections to add, remove, and modify fruits over timed intervals. The code applies `selection.merge()`, ordinal scales for color and radius, and SVG rendering with `circle` and `text` elements, while the fruit data is defined in plain JavaScript arrays.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2709a83ee7044f859621aaeacf34316c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}