Skip to main content
100%

Bowl of Fruit - Hover to Select

✓ Published0🌍 Public
Zzlastefcia
Last edited Sep 14, 2020
Created on Sep 14, 2020

A bowl of five apples animates in from the center, expanding to their positions. Hovering over any fruit outlines it in black, with a mouseout clearing the selection. Over a few seconds, apples are removed and one is transformed into a lemon, with the scene re-rendering via a D3 `select` and custom `fruitBowl` function. The SVG circles use D3's `scaleOrdinal` for color and radius, `transition().duration(1000)` for smooth changes, and event handlers `on('mouseover')` and `on('mouseout')` to trigger selection state updates.

AI-generated description
MIT Licensed

Similar vizzes