{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern for handling special cases in D3 data joins. A bowl of apples is initially rendered, then undergoes sequential modifications: an apple is removed, one is replaced with a lemon, and another is deleted. Using `d3.select`, `d3.range`, and the `fruitBowl` function with `merge`, the SVG updates handle enter, update, and exit states for both circles and text labels, with colors and radii mapped via `scaleOrdinal`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e4774bae77a94fcabc12585b9892c0c1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}