{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern for data joins in D3, showing how enter, update, and exit selections handle changing fruit data over time. A bowl of apples shrinks as fruits are removed, and one apple transforms into a lemon. The code uses `selection.data` with a key function, `enter.append`, `merge`, and `exit.transition` to animate circles with `transition.attr` over one second. It relies on `scaleOrdinal` for color and radius, with `setTimeout` triggering three sequential render calls in D3 v6.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/64a6a40dcece4ea097fa325aa6122ae9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}