{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern for data joins in D3, using a bowl of fruit to show enter, update, and exit transitions. Circles representing apples and lemons are animated with scaleOrdinal for color and radius, while the enter state starts at radius 0 and exit shrinks back to 0. The code uses d3.select, d3.range, and transition().duration() with .attr, .merge, and .remove to handle changes over time. A rectangle provides the bowl backdrop, and mouse-less updates are triggered via setTimeout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/87a8325a7d68409d817b0a87be933b96?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}