Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
This example shows a simple smiley face built with SVG, whose eyebrows move up and down in a looping animation. The code uses D3 v5 selections to append and style the face’s circles, rectangles, and an arc-based mouth. A chained `transition().duration(2000)` on the eyebrow group animates its vertical position, shifting it up and then back. All elements are centered in a 900-by-400 SVG using a translated `<g>` container.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed