Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit - general update pattern

Public visualization

Bowl of fruit - general update pattern

0 stars1🌍 Public
NNathan Neelis
Last edited Nov 11, 2020
Created on Nov 6, 2020

Five circles represent fruits in a bowl, transitioning through a sequence of additions and removals using D3's general update pattern. The visualization demonstrates enter, update, and exit selections via `selection.merge` and `transition().duration()`, with apples and lemons distinguished by `d3.scaleOrdinal` color and radius scales. SVG circles animate smoothly as fruits are eaten and replaced, showcasing data joins keyed by unique IDs. The code uses D3 v5 with ES6 modules, rendering animated SVG output.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed