Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published0🌍 Public
AAsimali39
Last edited Dec 20, 2021
Created on Dec 20, 2021

A yellow smiley face is drawn in an SVG canvas, with animated eyebrows that move up and down repeatedly. The example demonstrates fundamental DOM manipulation with D3.js, using a simple data-free composition of SVG shapes: circles for the face and eyes, rectangles for eyebrows, and a path created with the `d3.arc` generator for the mouth. D3's `transition` method triggers the eyebrow animation, while the `select` and `append` APIs build the hierarchical SVG structure centered on the canvas.

AI-generated description
MIT Licensed

Similar vizzes