{"version":"1.0","type":"rich","title":"Bowl of Fruit - Feneral Updata Pattern","description":"Five fruit circles animate in a bowl using D3 v5’s general update pattern, demonstrating enter, update, and exit transitions. The SVG circles are bound to an array with unique IDs; apples are red and larger, lemons yellow and smaller. Through `selectAll`, `merge`, and `transition`, new fruits grow from radius zero, existing ones shift positions, and removed ones shrink away. The script uses `scaleOrdinal` for color and radius, `transition().duration(1000)`, and `data(fruits, d=>d.id)` to track each fruit’s identity across updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8bfd8a034bc44050b69da08f0917c04c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}