Bowl of Fruit - General Update Pattern
A bowl of fruit demonstrates the D3 general update pattern for enter, update, and exit selections. Apples and lemons enter as circles that scale up from radius zero, update their fill color and size through a one-second transition, and exit by shrinking away. The code uses `selection.data`, `selection.enter`, `selection.merge`, and `selection.exit` with `transition.attr` to animate SVG circles, while `scaleOrdinal` maps fruit types to colors and radii. Data changes are triggered by `setTimeout` calls that remove, replace, or filter items from the fruits array.