Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit

Public visualization

Bowl of fruit

0 stars1🌍 Public
CChinzorigt Ganbat
Last edited Sep 18, 2020
Created on Sep 18, 2020

A bowl of fruit depicts five apples as circles, which are eaten, replaced by a lemon, and otherwise removed over time, with each change animated via a one-second transition. The visualization uses D3 v6 with data joins and merge to update SVG circle elements, while ordinal scales map fruit types to colors and radii. The React framework wraps this D3 code, with SVG rendering driven by timed state changes.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed