🌍 Public
Viewing a saved revision (read-only)
ed1498b2e5a84b62ad4a45280c0f49a0
Let's make a face with D3.js!
A blue smiley face drawn with SVG shapes cycles its eyebrows upward and downward in a looping animation. The example demonstrates fundamental DOM manipulation in D3.js, using `d3.select` to append circles, rectangles, and a path to an SVG canvas. The mouth is created with the `d3.arc` generator, while eyebrows animate via chained `transition().duration()` calls that move their containing group's `transform` attribute.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.