{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit- General Update Pattern with Nested Elements","description":"This example demonstrates the general update pattern with nested SVG elements, showing how to add, remove, and modify fruit objects within a bowl. It uses a D3 v7 selection with nested groups where circles and text labels are updated based on changing data arrays. The code applies ordinal scales for fruit colors and radii, and calls `merge`, `enter`, and `exit` operations to handle dynamic transitions. An interactive sequence modifies the dataset over time, removing apples and replacing one with a lemon.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/63cff3e71cc542c9ab19a35ea41c7483?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}