{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates special cases of the general update pattern in D3.js (v5). It shows a bowl of fruit where apples are initially added, then one is removed, another apple changes into a lemon, and finally a different apple is removed. The visualization uses SVG rendering with D3's selection, merging, and exit/remove methods to handle transitions between data states. The code uses `scaleOrdinal` for color and radius mapping based on fruit type, while data updates occur through setTimeout calls.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/abdf863c73e948339af1a33f75d68176?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}