{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"A bowl of fruit demonstrates D3’s general update pattern for animated data joins. Circles represent apples and lemons, colored via a `scaleOrdinal` and sized by another. Each update transitions entering, updating, and exiting circles using `transition().duration(1000)`, shrinking exits to zero radius before removal. The example cycles through adding, removing, and mutating fruit types with `setTimeout`, showing how D3’s `selection.data` with a key function manages dynamic datasets. Rendering uses SVG in a static 960×500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/515f86f5397c41b59725bd34fb3d2b26?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}