Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

click to select

Public visualization

click to select

0 stars1🌍 Public
Bbencestubnya
Last edited Jun 8, 2020
Created on Jun 8, 2020

Five circles represent fruit in a bowl, rendered as SVG by D3 v5. Clicking a fruit selects it, highlighting it with a black stroke. A data join with keyed enter, update, and exit transitions animates shape changes: plums shrink and disappear, and one plum transforms into a lemon. The example uses d3.scaleOrdinal for color and radius, and transitions via `selection.transition()` with a duration of 1000ms.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed