Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
A smiley face built with D3.js animates its eyebrows in a continuous up-and-down cycle. The code constructs the face from SVG shapes, using `d3.arc` for the mouth and appended circles and rectangles for the eyes and brows. Two chained `transition` calls, each lasting two seconds, shift the eyebrow group’s transform attribute to create the motion. The example demonstrates basic DOM manipulation and animation in D3 v5, rendering entirely with SVG elements on a 960×500 canvas.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed