Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit - hover to select

Public visualization

Bowl of fruit - hover to select

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed