{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"A bowl of fruit demonstrates the general update pattern for handling special cases in D3 data joins. It shows a row of apples shrinking and changing as fruits are eaten or replaced over time. The code uses D3 v5 with `scaleOrdinal` for color and radius, plus `selection.enter`, `merge`, and `exit` to manage enter, update, and exit states. The example runs through timed transitions using `setTimeout`, demonstrating how to handle removed elements and modified data properties.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/79271d54ea7b49ddad6e14964b1f9443?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}