🌍 Public
Viewing a saved revision (read-only)
1099459e64944a1eb0e8ca53c52eb366
Fork of Let's make a face with D3.js!
A smiley face drawn with D3.js animates its eyebrows in a repeating up-and-down motion, created by transitioning the group element that contains both eyebrow rectangles. The face is built entirely with SVG shapes, including circles for the eyes and an arc for the mouth, using D3 selections and the `d3.arc` function. The animation runs via chained `transition().duration(2000)` calls, which move the eyebrows up and then back to their original position.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.