🌍 Public
Viewing a saved revision (read-only)
4b5b2cf7dd20473d82ae5b9220735c6e
Face in D3.js
This example uses D3.js to draw a yellow face with black eyes, eyebrows, and a mouth on an SVG canvas. The face is centered using a group element with a transform, while the eyebrows gently move up and down via chained transitions that animate a translate attribute over two seconds each. The mouth is created with an arc shape, and the code imports select and arc from the D3 library.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.