Skip to main content
100%

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

✓ Published0🌍 Public
SSujata Shrestha
Last edited Nov 14, 2022
Created on Nov 14, 2022

A smiley face is drawn in SVG with a yellow circular head, black stroke, and a mouth. Animated eyebrows repeatedly move up and down over two seconds using D3's transition system. The example demonstrates DOM manipulation with `select` and `append`, building shapes with `circle`, `rect`, and `path`, and uses `d3.arc` to generate the mouth’s arc path. The rendering is entirely in SVG.

AI-generated description

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

MIT Licensed

Similar vizzes