Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fruitbowl V2 transitions

Public visualization

Fruitbowl V2 transitions

0 stars2🌍 Public
Iisaachowen
Last edited Aug 11, 2019
Created on Aug 4, 2019

Rows of apples and lemons animate as fruit is eaten or replaced in this SVG chart. The example demonstrates D3's data join with a key function, using `selection.enter`, `merge`, and `exit` to manage updates. Transitions smoothly shift circle positions and radii over one second. Data arrays are modified via `setTimeout`, triggering re-renders with `d3.scaleOrdinal` mapping fruit types to colors and sizes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed