{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"A bowl-of-fruit visualization demonstrates the general update pattern with special cases: apples appear, disappear, and one changes into a lemon. The example shows how to handle data joins where elements are removed by filtering an array, existing elements mutate, and new elements enter. Using d3 v5 with SVG and animated transitions, the code leverages scaleOrdinal for fruit color and radius, selection.merge for updating, and transition.attr to animate exit. The data is a simple array of fruit objects, rendered as circles with text labels in a static bowl shape.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/74844b92671744788ef0adde18e22e71?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}