{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern w/ Nested Animation Transitions","description":"This example demonstrates D3’s general update pattern with nested transitions by animating a bowl of fruit as apples are removed, replaced by lemons, and filtered out. It shows how the `enter`, `update`, and `exit` selections handle DOM creation, modification, and removal, using `selection.merge()` to apply shared attributes to groups, circles, and text. The code leverages d3.scaleOrdinal for color and radius mappings, and updates the SVG via timed `setTimeout` calls. The bowl is drawn as a static rectangle, with fruit rendered as SVG circles and labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/39a62e480e574fa384730a68f53dee42?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}