Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of Fruit

Public visualization

Bowl of Fruit

0 stars1🌍 Public
Zzhangfa
Last edited Jul 31, 2020
Created on Jul 31, 2020
Forked from make a face

A bowl of five apples appears as red circles; the animation then shows one apple being removed, a second apple changing into a lemon, and a third apple disappearing, with each fruit’s size and color encoded by its type. The visualization uses d3 scales (`scaleOrdinal`) to map fruit type to color and radius, and d3 transitions to animate circle position and radius over one-second durations. The SVG is rendered in `index.html`, with data mutations triggered by timed `setTimeout` calls in `index.js`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed