Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of Fruit - General Update Pattern - Grouped

Public visualization

Viewing a saved revision (read-only)

710992fa428e458b84a28fac5c8a62db

Bowl of Fruit - General Update Pattern - Grouped

0 stars0🌍 Public
Eerin
Last edited Jan 31, 2020
Created on Jan 31, 2020

A bowl of fruit visualizes the General Update Pattern with grouped elements; apples and lemons appear as colored circles within a bowl, with each fruit's type distinguished by a specific color and radius. The D3.js code uses an ordinal scale for color and radius, and coordinated enter, update, and exit transitions to animate the circle sizes over two seconds as fruits are added, removed, or changed. The example is rendered as SVG and demonstrates the pattern with a click-to-update interaction on numeric labels.

AI-generated description