🌍 Public
Viewing a saved revision (read-only)
7978587d9ae54497b1686758ce5bcbe2
Let's make a face!
This example creates a simple, animated face out of basic SVG shapes. A yellow circle forms the head, with two smaller circles for eyes, rectangular eyebrows, and a donut-shaped mouth made from an arc. The eyebrows animate, moving up and down via D3 transitions, while the rest of the face remains static. Built with D3 v5 and React, the code uses D3’s `select` and `arc` APIs to construct and manipulate the scene.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.