Skip to main content
100%

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

✓ Published2🌍 Public
VVishakha Routra
Last edited Feb 4, 2026
Created on Feb 4, 2026

This example shows a stylized yellow face built entirely with D3.js v5 SVG shapes. A circle forms the head, two circles serve as eyes, rectangles act as eyebrows, and a path created with the `d3.arc` function renders the mouth. The eyebrows animate up and down using chained `transition` calls, each lasting two seconds. The face is centered on a 960×500 SVG canvas using a group element with a translation transform.

AI-generated description
MIT Licensed

Similar vizzes