{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3, where data changes are reflected in a bowl of fruit rendered as SVG circles. It shows how enter, update, and exit selections manage the visualization across a timeline: initially six apples appear, then one is removed, another changes to a lemon, and a fourth is filtered out. The code uses `d3.scaleOrdinal` for color and radius mapping, with `selection.merge` and `selection.exit().remove()` to handle dynamic updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/44e30a531515441884cd389469a63d38?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}