{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates D3.js's general update pattern and its special cases using a bowl of fruit metaphor. A static bowl initially displays five apples, but the code includes commented-out scenarios for removing, replacing, and filtering fruits to illustrate update transitions. The visualization uses `d3.scaleOrdinal` for color and radius mapping, and `selection.merge` to handle enter, update, and exit states for SVG circles and text elements. The rendering is driven by the `fruitBowl` function and triggered through `select` and `range` APIs from D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b81a289311dd422a8219ee568078bf1b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}