{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern","description":"Five apples sit in a row, then the bowl loses an apple, swaps one for a lemon, and drops another apple. The animation demonstrates the general update pattern, using `transition.duration(1000)` to smoothly animate new, existing, and exiting circles. The D3 v5 code uses `data(fruits, d => d.id)` with `Math.random()` IDs, and while an `enter` state starts radii at zero, no explicit `update` transition is defined, though the merge transition applies to all circles.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d545e71eb86f40baa01864ba8761f2b8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}