{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3 v5, showing how data joins handle entering, updating, and exiting elements as fruits are added, removed, or modified. The visualization renders a bowl of apples and lemons as SVG circles with ordinal scales for color and radius, updating with each state change. The code uses `selection.data()`, `enter()`, `merge()`, and `exit()` within the `fruitBowl` function, while `setTimeout` calls trigger sequential changes to the fruit array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/eceba8611f6d47f5b02a2837a44f1c6f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}