{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern - nested elements","description":"Three rows of fruit demonstrate the D3 general update pattern with nested SVG elements. Apples and lemons are drawn as circles colored by a d3.scaleOrdinal, and each fruit group contains a circle and a text label. The example uses d3.selectAll, enter, merge, and exit selections to handle data changes, with setTimeout calls removing apples or changing one apple into a lemon.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7838c31a703d44d0895392a22f3509fb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}