Skip to main content
100%

Bowl of fruit - hover to select

✓ Published0🌍 Public
HHasideluxe
Last edited Jul 27, 2020
Created on Jul 27, 2020

Five fruit circles, initially all apples, transition between fruit types and removal over time, with hover interactions selecting a fruit and highlighting it with a black stroke. The example uses D3 v5 with a data join pattern, `scaleOrdinal` for color and radius mapping, and `selection.transition().duration(1000)` to animate entering, updating, and exiting elements in SVG. Apples are eaten and replaced by a lemon through timed updates, demonstrating dynamic data binding and interactive selection.

AI-generated description
MIT Licensed

Similar vizzes