Skip to main content
100%

Bowl of fruit general update pattern

✓ Published1🌍 Public
MMuiruriscode
Last edited Oct 5, 2021
Created on Oct 5, 2021

Five circles representing fruit appear in a row. The general update pattern removes one fruit, then changes the third apple into a lemon, and finally filters out another fruit, with each change using enter, update, and exit selections via `selection.data`, `selection.enter`, `selection.merge`, and `selection.exit`. The code uses d3 v5 with an ordinal color scale and radius scale, rendered as SVG elements with a `fruitBowl` function.

AI-generated description
MIT Licensed

Similar vizzes