Skip to main content
100%

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

✓ Published0🌍 Public
Sswapan-datahawklab
Last edited Dec 12, 2021
Created on Dec 12, 2021

A yellow smiley face with animated eyebrows is rendered as an SVG. The face is built from D3.js selections, including circles for the eyes and an arc path for the mouth. Both eyebrows, drawn as rectangles, move upward and then return to their original position using chained `transition().duration()` calls. The example demonstrates fundamental DOM manipulation with d3.select and d3.arc.

AI-generated description

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

MIT Licensed

Similar vizzes