Skip to main content
100%

Assignment 1 Tweak a Face!

✓ Published1🌍 Public
Vveagy
Last edited Aug 29, 2018
Created on Aug 29, 2018

A smiling face drawn with SVG shapes animates its eyebrows upward and back down. The visualization uses D3 v5 to construct and position a yellow circle for the head, rectangles for eyes and eyebrows, and an arc for the mouth. The code relies on D3's `select` and `arc` APIs, plus chained `.transition().attr()` calls to animate the eyebrow group's vertical translation over two seconds.

AI-generated description

Author: Weijie Pang

MIT Licensed

Similar vizzes