{"version":"1.0","type":"rich","title":"bowl of fruit-general update pattern","description":"Five circles represent a bowl of fruit, starting as red apples and dynamically updating through D3's general update pattern. The example demonstrates enter, update, and exit transitions as fruits are removed, a lemon replaces an apple, and an item is deleted. Using `d3.select`, data joins, and `.transition().duration(1000)`, circles animate their radius and x-position while the SVG scales fruit size, color, and position via `scaleOrdinal`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b6073870067b42a8b5f2c0d8534fe68f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}