{"version":"1.0","type":"rich","title":"Fork of Fork of Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3, showing how fruit shapes transition as apples are eaten, replaced with a lemon, and filtered out over time. An SVG bowl displays colored circles, with apples in red and lemons in yellow, positioned horizontally. The code uses D3 v5’s `selectAll`, `enter`, `merge`, and `exit` methods to handle data joins, along with `scaleOrdinal` for color and radius mapping. Sequential `setTimeout` calls trigger state changes, while the `fruitBowl` function updates circle attributes based on the current fruit array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d8a0e5a4e35479e9fc33e587cf38102?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}