{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3, showing how SVG elements are added, removed, and modified over time. A bowl of fruit, rendered as red apples and yellow lemons, changes as a timer triggers actions: five apples appear, one is removed, an apple transforms into a lemon, and another apple is deleted. The implementation uses D3's `select`, `merge`, and `exit` operations to handle entering and exiting elements, with `scaleOrdinal` mapping fruit types to circle radii and colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/84706295772d40e48d0fb71a444b7a6d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}