Skip to main content
100%

preetham

✓ Published0🌍 Public
VVenkata Sai Preetham
Last edited Jun 17, 2022
Created on Jun 17, 2022

A smiling face rendered with SVG shapes in D3.js animates its eyebrows in a looping motion. The face consists of a pink circle, two black eyes, and an arc-based mouth drawn with the `arc` generator. Using chained `transition` calls with two-second durations, the eyebrows repeatedly shift upward and return to their original position. The code constructs all elements via D3 selections and attribute manipulation, while the animation relies on D3's built-in transition system, visible in the JavaScript bundle.

AI-generated description

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

MIT Licensed

Similar vizzes