{"version":"1.0","type":"rich","title":"Bowl of fruit - general update pattern","description":"Five apples appear as red circles in an SVG, arranged horizontally above a bowl. Following a timed script, the visualization removes an apple, changes an apple to a yellow lemon, and removes another, demonstrating D3’s general update pattern. The code uses `selection.selectAll`, `.enter()`, `.merge()`, and `.exit()` with a `transition().duration(1000)` to animate radius and x-position changes, while `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/04791461db9b49398010ec048220f07a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}