{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern's special cases using a bowl of fruit rendered as SVG circles and text. It shows how to handle data joins when elements are removed, updated in place, or filtered out, with apples and lemons appearing and disappearing from the bowl. The code uses d3-selection’s `data`, `enter`, `merge`, and `exit` methods alongside `scaleOrdinal` for color and radius mapping, driven by `setTimeout` calls in index.js.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e3674aedc4fc4f3ca78e92ccddf14cdb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}