Skip to main content
100%

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

✓ Published0🌍 Public
Ttmorgante
Last edited Sep 12, 2021
Created on Sep 12, 2021

This visualization demonstrates fundamental DOM manipulation with D3.js by constructing an animated smiley face from basic SVG shapes. A yellow circle forms the head, with black circles for eyes, rectangles for eyebrows, and an arc-generating path for the mouth. The eyebrows animate vertically using chained `transition()` calls over two-second intervals. The example uses D3 v5 selection methods like `select` and `append`, alongside the `arc` generator, all rendered within a plain SVG element.

AI-generated description

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

MIT Licensed

Similar vizzes