{"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 through a series of timed events. Apples and lemons are rendered as SVG circles with ordinal scales mapping fruit type to color and radius. The code uses `selection.data()`, `enter()`, `merge()`, and `exit()` to handle updates, while `setTimeout` triggers actions like eating an apple or replacing one with a lemon. The visualization shows how D3's data joins manage dynamic datasets.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/76cdd5c7aa7e4b83992af2d573d19539?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}