{"version":"1.0","type":"rich","title":"Bowl of Fruit General Update Pattern","description":"This example demonstrates the D3 general update pattern by animating a bowl of fruit rendered as SVG shapes in a React app. It uses D3 v5’s `selectAll`, `enter`, `merge`, and `exit` methods to handle data changes: an apple disappears, another apple turns into a lemon, and a third is removed. The fruit is drawn with `circle` elements colored via `scaleOrdinal`, and the bowl is a static `rect` with rounded corners. Timed delays trigger the three state changes sequentially.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1a9ba3416ea349c086227be8e1d289f4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}