{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern w/ Basic Animated Transitions","description":"This example demonstrates the D3 general update pattern by animating a bowl of fruit represented as colored circles. Apples and lemons appear, change type, and disappear from an SVG canvas, with smooth transitions adjusting position and radius over one second. The code uses `selection.data()`, `.enter()`, `.merge()`, and `.exit()` alongside `transition().duration()` to manage object constancy based on unique IDs. The `scaleOrdinal` maps fruit types to colors and sizes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1529c1e7352f4da2ad8479165b7cb1a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}