Bowl of Fruit - General Update Pattern
A bowl of fruit demonstrates the general update pattern, showing five apples that enter, change, and exit over time. The visualization uses D3 v6's `scaleOrdinal` for color and radius mappings, with `transition` animations that grow entering circles from zero radius, fade exiting ones back to zero, and smoothly update attributes for persistent items. The code applies the pattern through `selectAll`, `enter`, `merge`, and `exit` methods, driven by `setTimeout` calls that pop, replace, and filter the fruit array.