{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"Five apples rendered as red circles transition in and out of a bowl over time, demonstrating the D3 general update pattern in SVG. The code uses `selectAll` and `.data()` joins, followed by `.enter()` and `.merge()` to handle entering and updating elements, while `.exit().remove()` removes disappearing fruits. A `scaleOrdinal` maps fruit types to colors and radii, with 1000ms transitions animating radius and fill changes as fruit is eaten, replaced by a lemon, or filtered out.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ffc2e6f20a5e4db4ba05394d27979ab3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}