🌍 Public
Viewing a saved revision (read-only)
953a664a1b26478baf5dc27cc910ca14
Let's make a face with D3.js!
A yellow circle becomes a smiley face as D3.js SVG drawing primitives add eyes, eyebrows, and an arc-shaped mouth. The eyebrows animate by chaining two `transition().duration()` calls that translate their group down and back up over four seconds. The example demonstrates fundamental DOM manipulation via `select` and `append`, using D3's `arc` helper to generate the mouth path.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.