{"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 v5, showing how to handle adding, removing, and modifying data elements in a visualization. A bowl of fruit is rendered as circles with labels, using `scaleOrdinal` for color and radius mappings. The code uses `selection.selectAll`, `enter()`, `merge()`, and `exit()` to update the SVG scene over time, with timeout-driven changes removing an apple, replacing one with a lemon, and filtering the array. The rendering uses SVG primitives like `circle` and `text`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9932ce61a2704ab4b16b9457dc5b4f1e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}