🌍 Public
Viewing a saved revision (read-only)
b4760ac516f54b7886a789ed3ba2a876
Fruit Bowl - Hover To Select
Five fruits sit in a brown-rimmed seashell bowl as SVG shapes, rendered with D3 v5. Hovering a fruit selects it with a black stroke while a mouse-out deselects. Using D3's `scaleOrdinal` for color and radius, the code binds fruit data with key functions, applies enter/exit transitions, and animates fruit position and type over timed intervals.
AI-generated description