Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit - general update pattern

Public visualization

Viewing a saved revision (read-only)

26aac1a5b3784f22b80809647a63deed

Bowl of fruit - general update pattern

0 stars1🌍 Public
MMaciek Sitkowski
Last edited Sep 2, 2020
Created on Sep 2, 2020

Five circles representing apples enter at equal intervals and transition from radius zero. The D3 general update pattern uses a key function on fruit IDs, with `scaleOrdinal` mapping fruit types to color and radius. Over timed intervals, the array mutates: an apple exits, an apple becomes a lemon, and another apple filters out, each change animating via `transition().duration(1000)` on enter, update, and exit selections. SVG circles render with SVG transitions.

AI-generated description