Skip to main content
100%

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

✓ Published0🌍 Public
Ssalwa191
Last edited May 3, 2021
Created on May 3, 2021

A yellow smiley face with animated eyebrows demonstrates fundamental D3.js DOM manipulation and transitions. The face is constructed using SVG primitives: a circle for the head, circles for eyes, rectangles for eyebrows, and an arc-generated path for the mouth. D3 transitions animate the eyebrow group’s vertical position over four seconds, moving them up and down. The code uses `d3.select`, `d3.arc`, and `.transition().duration()` to build and animate the visualization.

AI-generated description

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

MIT Licensed

Similar vizzes