{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"A bowl of fruit demonstrates the D3 general update pattern as circles and labels enter, update, and exit with animated transitions. The example uses D3 v5's `selection.data`, `selection.enter`, `selection.merge`, and `selection.exit` to manage SVG groups. `d3.scaleOrdinal` maps fruit types to colors and radii, while chained `transition.duration` calls animate position, size, and fill over one second. The code mutates a fruits array at timed intervals—removing items, changing a type, and filtering—to show how the visualization responds. Rendering is SVG-based.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a473613a551843cfa75670720a53a5e8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}