Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with d3.js

Public visualization

Let's make a face with d3.js

0 stars1🌍 Public
JJustinS1209
Last edited Aug 2, 2019
Created on Aug 2, 2019

A yellow circle with black outline forms a face via SVG. Two black eyes and rectangular eyebrows animate upward and downward in a repeating transition, while an arc-shaped mouth uses d3.arc. The code builds the face with d3.select, appends SVG shapes, and applies chained transition().duration() calls to move the eyebrow group. All elements are positioned via SVG attributes within a centered group.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed