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)

fac04d1f0da0486b9a93d5f73985ee95

Bowl of fruit general update pattern

0 stars1🌍 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