Skip to main content
100%

Face in D3.js

✓ Published1🌍 Public
CCaleb
Last edited Jun 17, 2020
Created on Jun 17, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes