{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3, showing how data joins handle enter, update, and exit states for a bowl of fruit. It sequentially removes apples by popping the array, replaces an apple with a lemon, and filters a specific fruit. The code uses `d3.scaleOrdinal` for color and radius scales, `selection.merge()`, and `selection.exit().remove()` to manage transitions in SVG. Rendering occurs on a 960x500 SVG canvas with a fixed background rect.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/52b55a59a0b6408b977f2b61decc4442?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}