D3 Bowl of Fruit Example
This example demonstrates a D3.js fruit bowl visualization where circular fruit shapes enter, exit, and transition between apple and lemon types based on a dataset of efficiency and sales. Using SVG circles and ordinal scales for color and radius, the visualization animates fruit changes with `transition().duration(1000)`. The React framework integration uses the `fruitBowl` function to bind data with `selection.data()`, while circles respond to click events. The example transitions through eating apples, replacing one with a lemon, and filtering fruits, showing dynamic data updates in a simple, interactive way.