{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"Five apples with unique IDs are drawn in an SVG bowl, then a sequence of updates adjusts the fruit: an apple is eaten, one becomes a lemon, and another is removed. The code demonstrates the general update pattern in D3 v5, using `selection.merge` and keyed data joins to handle entering, updating, and exiting elements. It employs `scaleOrdinal` for color and radius, and `transition` for smooth visual changes over 1000 milliseconds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5d052f30f7fd49cc8ad4c6e71d966015?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}