{"version":"1.0","type":"rich","title":"Bowl of Fruit - Nested General Update Pattern","description":"This example demonstrates the nested general update pattern for data joins in D3. A bowl of fruit is rendered as SVG circles and text labels, with apples and lemons distinguished by color and size using `scaleOrdinal`. The visualization updates over time: removing a fruit, changing an apple to a lemon, and filtering out another fruit. The code uses `selection.data`, `enter`, `merge`, and `exit` to handle updates, with `fruitBowl` managing both top-level groups and nested circle/text elements. Changes occur at one-second intervals.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/52d1c6a3ffd04bc580a10268ddb20c4b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}