{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the D3 general update pattern through a bowl of fruit, showing how data joins handle enter, update, and exit selections over time. As apples are eaten or replaced by lemons at timed intervals, the visualization updates the SVG circles and text labels accordingly. The code uses d3.select, data binding via selection.data(), merge(), and selection.exit().remove() from D3 v5, with scaleOrdinal for color and radius mapping. Each fruit is rendered as a circle with a text label, positioned inside a rounded rect bowl.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d43c61b32a99435494dfecafdbb9a639?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}