Skip to main content
100%

Bowl of Fruit - Hover to Select

✓ Published0🌍 Public
Rrebeccayc
Last edited Feb 8, 2020
Created on Feb 8, 2020

A bowl of fruit is rendered as an animated SVG, where apples and lemons appear as colored circles that transition in and out of view. Hovering over a fruit selects it, highlighting it with a black stroke; moving the mouse away deselects it. The visualization demonstrates D3’s data join and general update pattern, using `selection.data`, `enter`, `merge`, and `exit` with `transition` to smoothly animate radius and position changes as the dataset is modified over time.

AI-generated description
MIT Licensed

Similar vizzes