Skip to main content
100%

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

✓ Published0🌍 Public
SSanjib Paudel
Last edited Feb 25, 2023
Created on Feb 24, 2023

A forked D3.js v5 example renders a smiley face in SVG with animated brows, a hat, and a mouth that bounce between positions over repeated transitions. The code uses `d3.select`, `d3.arc`-less path strings, and `transition.attr` to move circles, rectangles, and ellipses. It demonstrates fundamental DOM manipulation and chained transitions on SVG elements, with the face’s components like eyes and eyebrows spaced via explicit coordinates rather than a data-binding layout.

AI-generated description

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

MIT Licensed

Similar vizzes