{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates the general update pattern in D3 with special cases for data joins, showing apples and lemons in a bowl. The visualization cycles through scenarios: removing an item, modifying an existing item’s type, and filtering the array. The code uses d3-selection’s `enter`, `merge`, and `exit` methods to handle updates, with `scaleOrdinal` mapping fruit types to colors and radii. Rendered as SVG, the bowl is a styled rectangle, and fruits are circles with labels, updated via `setTimeout` calls in d3.v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/95bb125996d9477ba83f705a19510d54?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}