Skip to main content
100%

Lets make a Face!

✓ Published3🌍 Public
OOvxOO
Last edited Aug 18, 2019
Created on Jul 16, 2019
Forked from Hello VizHub

A yellow smiley face appears centered on an SVG canvas, built from D3 shapes: a circle for the head, two circles for eyes, rectangles for eyebrows, and a path for the mouth. The eyebrows animate upward and back down repeatedly using D3's `transition()` with a two-second duration. The code uses `d3.select`, `d3.arc`, and attribute setters to construct the static face, while the animation is driven by chained `transition().attr()` calls, rendering in SVG.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes