Skip to main content
100%

hierarchy

✓ Published0🌍 Public
Uusamazaibabbasi
Last edited Jan 29, 2021
Created on Jan 29, 2021

A smiley face rendered in SVG features animated eyebrows that lift and lower in a repeating two-second cycle. The example demonstrates basic D3.js DOM manipulation, using `d3.select` and `d3.append` to construct circles, rectangles, and an arc-based mouth. The eyebrow movement relies on chained `transition.attr` calls with explicit durations. A yellow face with a black stroke is drawn on a fixed 960×500 canvas.

AI-generated description

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

MIT Licensed

Similar vizzes