{"version":"1.0","type":"rich","title":"Bowl of Fruit General Update Pattern","description":"This example demonstrates D3’s general update pattern for smoothly adding, modifying, and removing SVG circles over time. Using `d3.scaleOrdinal` for color and radius, the code binds fruit data to circles with a key function on `id`. Enter, update, and exit selections are merged, with 1000ms transitions animating positional and size changes. A series of `setTimeout` calls triggers state changes, showing an apple consumed, a lemon replacement, and a removal.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/32f8c6d5dd08478586da0b9a7ede7ad8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}