{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern (Labeled & Animated)","description":"A bowl of fruit demonstrates D3's general update pattern for handling data joins, showing apples and lemons entering, exiting, and updating their position and radius with animated transitions. The visualization uses `d3.scaleOrdinal` for color and size mapping, along with `selection.merge()` and `transition.duration()` to smoothly shift elements. JavaScript timers trigger state changes—removing an apple, swapping an apple for a lemon, and filtering the dataset—while SVG groups, circles, and text labels update accordingly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6e7fc7ff6a994af8b0b2c033a5f61519?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}