Skip to main content
100%

Let's Make a Face Part I

✓ Published1🌍 Public
JJustin Gieselbach
Last edited Mar 17, 2020
Created on Mar 14, 2020

A simple animated smiley face is constructed using D3.js, with a yellow circular head, two eyes, eyebrows, and a partial arc mouth. The eyebrows animate upward and downward in a repeating cycle, adding a subtle expressive motion to the otherwise static face. The visualization is built entirely with SVG primitives—`circle`, `rect`, and `path` elements—and relies on D3's `transition` API to animate the eyebrow transform over two-second intervals. The arc for the mouth is generated using D3's `arc` function, which produces a path for the specified inner and outer radii and angle range.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes