{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates D3's general update pattern with special cases for entering, updating, and exiting elements. A bowl of fruit (apples and lemons) is rendered as SVG circles and text labels, with transitions over time as fruits are removed or replaced. The code uses `d3.scaleOrdinal` for color and radius mapping, `selection.merge`, and `selection.exit().remove()` to handle data joins. Fruits are imported from a module and rendered in a fixed bowl rectangle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1b6d55e7b81d4af383053b0a2cba389b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}