{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern (Nested Version using groups)","description":"Five pieces of fruit render inside a rounded bowl shape drawn with an SVG rect. The visualization demonstrates the general update pattern with nested groups: a separate data join manages the bowl’s persistent rectangle, while another join handles fruit circles and labels. Over timed intervals, `setTimeout` removes fruit, changes an apple to a lemon, and filters the array. D3 v5’s `scaleOrdinal` maps fruit types to colors and radii, and the enter-merge-exit sequence updates the SVG groups accordingly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dda9b03ea2ac42aa83608e44a8a66059?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}