🌍 Public
Viewing a saved revision (read-only)
9d6194ac56dc42a98d5b8fda4c030a84
yet another Fork of Let's make a face with D3.js!
A smiling face drawn with SVG updates its eyebrows by animating a group containing two rectangles over four seconds. The example demonstrates fundamental D3.js DOM selection and manipulation, using `d3.select`, `append`, and chained `transition` calls with `attr` to shift the eyebrow group vertically. The face is composed of a yellow circle, two eye circles, and an arc-shaped mouth generated with the `d3.arc` helper.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.