Skip to main content
100%

fruits

✓ Published0🌍 Public
Vvictoriokhomas
Last edited Jul 28, 2021
Created on Jul 26, 2021
Forked from my vacc

This example demonstrates a dynamic fruit bowl visualization using D3 version 6. It shows circles representing apples and lemons, with colors and radii mapped by fruit type via `d3.scaleOrdinal`. The animation uses D3's selection API and the `.transition()` method to smoothly update positions and sizes over time. Fruits are initially added, then removed, type-changed, and filtered through timed `setTimeout` events, while `selectAll` and `.merge()` manage the enter, update, and exit states of the SVG circles.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes