{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates how the General Update Pattern in D3.js handles special cases of data joins, using a bowl of fruit metaphor. The visualization shows apples and lemons represented as colored circles with labels, updating between two data arrays ([10,20,30] and [40,50]). The code uses `selection.merge()`, `selection.enter()`, and `selection.exit()` to manage element updates, with `d3.scaleOrdinal` for color and radius scales. The visualization renders SVG elements and includes a video tutorial link in the README.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/db7cdfaaa7e740cbb64d68a91eaf0c05?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}