{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3 with special cases where data enters, exits, and mutates in place. It shows a bowl of fruit where apples are eaten, replaced by lemons, and removed from different positions over time. The visualization uses D3 v5 with `scaleOrdinal` for color and radius mapping, and SVG elements (`rect`, `circle`, `text`) bound to data via `selection.data()`. The code explicitly handles enter, update, and exit selections using `merge()` and `.remove()` to manage transitions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1a508cfd468b4c199ed5606b76b9d613?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}