{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update pattern","description":"D3.js demonstrates the General Update pattern with a bowl of fruit where apples and lemons enter, exit, and change type. Using `d3.scaleOrdinal` for color and radius, circles transition smoothly over one second via `transition().duration()`, with enter selections growing from radius zero and exit selections shrinking away. The example shows both the enter-merge-exit structure with keyed data joins and dynamic updates triggered by `setTimeout`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/90e90657f640430185279e06d117b6ce?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}