Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Learn Selection

Public visualization

Learn Selection

0 stars2🌍 Public
AAjit Singh
Last edited Jan 5, 2021
Created on Jan 1, 2021

A fruit bowl of five circles transitions through a sequence of changes: one circle shrinks and disappears, a circle changes from red (apple) to yellow (lemon), and another is removed. The example demonstrates D3's selection API with `selectAll`, `.enter()`, `.merge()`, and `.exit()`, using `.transition().duration()` to animate position, fill, and radius. It uses `scaleOrdinal` for color and radius mapping, and `range` to generate initial data.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed