{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3.js by animating a bowl of fruit as apples are eaten and replaced with lemons over time. The visualization uses SVG circles and text labels rendered through a custom `fruitBowl` function, which leverages `selection.enter()`, `selection.merge()`, and `selection.exit()` to handle data joins. The code applies ordinal scales from `d3.scaleOrdinal` for fruit colors and radii, and uses `d3.select` and `setTimeout` to trigger sequential state changes from the initial five apples.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/928c890d6f3442019407fcfe2e5b70bc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}