{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"Multiple circles represent fruit in a bowl, with apples as dark red and lemons as orange. The example demonstrates D3’s general update pattern, where data joins with `selection.data` handle entering, updating, and exiting elements. Animated transitions using `transition().duration(1000)` grow new circles from radius zero, shift positions, and shrink removed ones. The code uses `d3.scaleOrdinal` for color and radius mapping, with `merge` to combine enter and update selections.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/84fb54560613443cbde176b7bbf26b04?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}