Skip to main content
100%

ICE-4

✓ Published0🌍 Public
CChandrashekharRamamuthi
Last edited Feb 21, 2023
Created on Feb 21, 2023

A green smiley face animates by moving its rectangular eyebrows up and down. The demo shows fundamental DOM manipulation with D3.js v5, using `d3.select` and `d3.append` to build SVG circles, rectangles, and paths. The eyebrows transition vertically via `transition().duration(2000)` chained calls. The mouth is drawn with the `d3.arc` generator. The animation runs continuously, shifting the eyebrows between two Y-offsets over two-second intervals.

AI-generated description

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

MIT Licensed

Similar vizzes