Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 1 Tweak a Face!

Public visualization

Assignment 1 Tweak a Face!

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed