🌍 Public
Viewing a saved revision (read-only)
bd7ae54aa6f54e13afd24b47740a4102
Bowl of Fruit
Five circles represent apples in a bowl, rendered as red SVG circles that scale up on entry and shrink on exit. Over time, the code removes an apple, changes one apple into a yellow lemon by re-binding data and updating fill color, then filters out another apple. The example uses d3.v5 with scaleOrdinal for color and radius mapping, and transition().duration() to animate enter, update, and exit selections.
AI-generated description