Fork of Bowl of Fruit - General Update Pattern Special Cases
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`.