{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates D3’s general update pattern for managing dynamic data in SVG. Circles and labels represent fruits, with apples and lemons distinguished by color and size via ordinal scales. The code uses `selection.enter()`, `selection.merge()`, and `selection.exit()` to handle added, updated, and removed elements as the fruit array changes over time. Written in React and D3 v5, it shows how to bind data, update attributes, and remove exiting nodes efficiently.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/287e7aec4bb943bfb05f04e24d155dcc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}