Skip to main content
100%

D3.js

✓ Published0🌍 Public
SSerena Fang
Last edited Feb 23, 2021
Created on Feb 23, 2021

A smiley face rendered in SVG animates by raising and lowering its eyebrows. The yellow circular head, black eyes, and mouth are drawn using D3 v6 shape generators and SVG primitives. The code uses `arc()` for the mouth, `circle` and `rect` elements for facial features, and chained `transition().duration()` calls to move the eyebrow group up and down over two-second intervals.

AI-generated description
MIT Licensed

Similar vizzes