{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern","description":"Five pieces of fruit sit in a bowl rendered as SVG shapes. The general update pattern demonstrates how D3’s enter, update, and exit selections handle data changes. Using `d3.scaleOrdinal` for color and radius, circles and text labels update through `selection.merge`, while `setTimeout` modifies the array to remove items or change an apple to a lemon. The bowl itself is a static rectangle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/be9f4bf1ba914be18766f30e0a7e0d60?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}