Skip to main content
100%

Let's make an Face

✓ Published1🌍 Public
KKelseyXu5
Last edited Jan 15, 2022
Created on Jan 14, 2022
Forked from HTML Starter

A yellow face with black outlines and animated eyebrows is rendered in SVG. D3.js v7 builds the facial features by appending a circle for the head, two circles for eyes, rectangles for eyebrows, and a path generated with the `d3.arc` function for the mouth. The eyebrows animate upward and back down using chained `transition().duration(2000)` calls on a group element. Static geometry is positioned via SVG attributes and transforms, with the visualization centered in a 960×500 viewport.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes