🌍 Public
Viewing a saved revision (read-only)
8701af0942ac49f6acfc5a487183d354
Make a face with D3.js!
This example shows a stylized yellow face built with SVG elements, including eyes, eyebrows, and a smile, which animate by moving the eyebrows up and down. The face is constructed using D3.js v6 selections to append circles, rectangles, and an arc-generated path for the mouth. The code uses `d3.select`, `d3.arc`, and `.transition().duration()` to create the two-second eyebrow movement loop. A separate text input and button trigger a JavaScript alert, though the face animation runs independently of that interaction.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.