🌍 Public
Viewing a saved revision (read-only)
8e3c738b043a4a9cae4f6a540e51cd58
Fork of Let's make a face with D3.js!
This example animates a yellow smiley face, shifting its eyebrows upward and back down in a looping motion. The face is constructed entirely with D3.js v5 SVG elements, including circles for the eyes and an arc-generated path for the mouth. D3’s `select`, `arc`, and `transition().duration()` APIs drive the DOM manipulation and the eyebrow movement, with the code demonstrating fundamental shape creation and chained transitions.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.