{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern with a bowl of fruit that changes over time. An SVG renders circles representing apples and lemons, with color and size determined by `d3.scaleOrdinal` scales. The `fruitBowl` function uses `selection.selectAll`, `enter()`, `merge()`, and `exit()` to handle data joins, while `setTimeout` triggers state changes—removing fruits and replacing an apple with a lemon—to show how the visualization updates dynamically.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/67a6f2e710f04af0974fa9f493c642de?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}