{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern & Animated Transitions","description":"This example demonstrates the general update pattern for smoothly transitioning data changes in an SVG visualization. A bowl of fruit, rendered as colored circles, adapts to eating apples and replacing one apple with a lemon through animated position and radius adjustments. The code uses D3 v5’s data joins with key functions, `transition().duration()` for animations, and `scaleOrdinal` for mapping fruit types to colors and sizes. Entering circles fade in from radius zero, while exiting circles shrink away.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/23ccb614eac344e9ac55d86b71427639?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}