{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3.js with special cases for entering, updating, and exiting data. It shows a bowl of fruit where apples are added, eaten, replaced by lemons, and filtered out over time, using animated transitions. The code uses D3 v5’s `selection.enter`, `selection.merge`, `selection.exit`, and `transition.duration` to handle these updates, with ordinal scales for color, radius, and font size. Rendering occurs in an SVG via `circle` and `text` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f6944c9c79ce4f989d1d32a9e1250ac2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}