🌍 Public
Viewing a saved revision (read-only)
d5fb2e6b80eb4884b0e8a99103be9b9e
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.