Skip to main content
100%

Let's make a face with D3.js!

✓ Published3🌍 Public
AAbhijit Roy
Last edited May 13, 2020
Created on May 13, 2020

This example builds a yellow cartoon face from basic SVG shapes, including circles for eyes and a mouth, rectangles for eyebrows, and an arc for the smile. The face is centered within a red background, and the eyebrows animate upward and then back down using chained `transition.duration` calls. The code uses D3 v5’s `select`, `arc`, and transition methods to construct and animate the SVG.

AI-generated description
MIT Licensed

Similar vizzes