{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern for handling special cases in data changes. It shows a bowl of fruit where five apples are initially displayed, with each fruit represented by a circle and a text label. The code uses d3’s `scaleOrdinal` for color and radius mappings, and the `selectAll`/`merge`/`exit` pattern to manage SVG elements. The rendering uses d3.v5 with SVG output, and the data source is hardcoded as a series of apple objects.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/71aa1b9b0cb645b6a844e9f6beb5a3ab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}