Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
Eemntd
Last edited Oct 17, 2019
Created on Oct 17, 2019

A data-driven face built from fruit demonstrates D3.js data joins with `scaleOrdinal` color and radius scales. The example renders five apples as red circles via SVG, then removes one fruit and changes a second to a lemon using `selection.data`, `enter`, `merge`, and `exit`. `setTimeout` triggers these updates, showing how D3 v5 handles dynamic data changes in a static HTML page with d3-selection and scales.

AI-generated description
MIT Licensed

Similar vizzes