Forking with this Face for Fun.js!
✓ Published0🌍 Public
Two cartoon faces rendered side-by-side in SVG each animate their eyebrows upward and downward in a repeating two-second transition. Built with D3 v5, the example constructs each face from circles, rectangles, and arc paths, positioning elements via `svg.append` and `g.attr` transforms. Duplicated code blocks define a red face with a hat and collar, and a blue face with asymmetric pupils, showing fundamental DOM manipulation through D3 selections, `transition.duration`, and the `arc` generator for the nose and mouth shapes.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed