{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3 for animating a dynamic dataset of fruits. It shows a bowl of apples and lemons as circles, where fruits are added, removed, or changed over time. The visualization uses D3's `transition` API to animate radius changes on enter, update, and exit, with `scaleOrdinal` mapping fruit types to colors and sizes. The React-based code mutates an array and re-renders, showing how the `merge` and `remove` operations handle state transitions fluidly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a4f5ad650b24718a84c508694f78405?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}