{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3, showing how data joins handle entering, updating, and exiting elements. A row of apples transitions as fruits are removed and one apple changes into a lemon. Using D3 v5 with SVG animations, the code applies ordinal scales for color and radius, while `selection.data`, `enter`, `merge`, and `exit` manage lifecycle transitions over one-second durations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6ec01c2a9e474c6297e3ea48122fe325?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}