{"version":"1.0","type":"rich","title":"Bowl of fruit - General Update Pattern","description":"A bowl of fruit demonstrates the general update pattern for data joins in D3. Five apples render as circles, then transition through a series of timed changes: one apple is removed, a second is replaced by a lemon, and another is eaten. The example uses `selection.data`, `merge`, and `exit().remove()` to handle entering, updating, and exiting elements. Color and size are mapped through ordinal scales, with SVG circles positioned by an index-based function.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c9d2076306044ec19e5e39cc8106d051?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}