{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern1","description":"This example demonstrates the D3 general update pattern by showing a row of five apples that transition over time: one apple is removed, and another apple changes into a lemon. It renders SVG circles using d3.selectAll and a data join, with scaleOrdinal for color and radius. The update, enter, and exit selections are handled explicitly, with exit().remove() deleting the removed circle. Data is managed in a plain JavaScript array, and a render function reapplies attributes, simulating a component-based approach with D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/28a0a3ddac41437896eb46d2e46f6ada?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}