Bowl of Fruit - General Update Pattern Special Cases
This example demonstrates the general update pattern in D3 with special cases, showing a row of fruit that changes over time through user-driven actions. Five apples appear initially, then one is removed, another transforms into a lemon, and a second apple disappears. The visualization uses D3 v5 with SVG rendering, employing `scaleOrdinal` for color and radius mappings, along with enter, merge, and exit selections to handle data joins dynamically.