Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BA 401 Exercise

Public visualization

BA 401 Exercise

0 stars0🌍 Public
HHCR31
Last edited May 6, 2021
Created on Apr 29, 2021

A smiley face drawn with SVG shapes uses the D3.js `select` and `arc` APIs for its geometry. The eyebrows, rendered as rectangles, animate upward and downward via chained `transition()` calls, while a red mouth path includes an `<animateMotion>` tag. The face is constructed from blue and red circles with a black stroke, and the animation loops indefinitely.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed