{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern for adding, removing, and modifying data in a D3 visualization, using a bowl of fruit. It shows how entering, updated, and exiting elements are handled when the data changes over time. The code uses d3.select, d3.range, and custom scales from d3.scaleOrdinal to map fruit types to colors and radii. SVG circles and text labels are updated with transitions, including a sequence of font-size changes, while the fruit data is modified via pop and filter operations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/eeeeeddad6f84c1c9873b806f82767b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}