Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face!

Public visualization

Let's make a face!

0 stars0🌍 Public
Kkimgarrard
Last edited Nov 26, 2019
Created on Nov 11, 2019

Five fruit circles appear in a row as apples, then one is removed and another turns into a lemon, demonstrating D3's enter, update, and exit selections. The example uses d3.scaleOrdinal to map fruit types to colors and radii, with selection.data and selection.enter handling the dynamic changes. Rendered as SVG circles on a 960 by 500 canvas, the visualization shows how data joins update the DOM over time through setTimeout callbacks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed