{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"A bowl of fruit demonstrates D3’s general update pattern with special cases: adding five apples, removing one, changing an apple into a lemon, and deleting a middle apple. The visualization uses the D3 v5 selection methods `enter`, `merge`, and `exit` with SVG circles and text labels. The `fruitBowl` function applies ordinal scales via `d3.scaleOrdinal` for fruit color and radius, while `setTimeout` triggers each state change.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e18aae27dd444bd868efa19261fb183?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}