Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
A smiley face drawn with D3.js animates its eyebrows upward and back down in a repeating cycle. The face is composed of SVG shapes: a red circle for the head, two circles for eyes, rectangles for eyebrows, and a path for the mouth. The code uses D3 v5's selection and transition methods to move the eyebrow group via the `attr` tween. The animation runs on a 2000-millisecond duration for each movement phase, creating an infinite loop of eyebrow raises.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed