Skip to main content
100%

Let's make a face with D3.js!

✓ Published2🌍 Public
Eestregan
Last edited Dec 10, 2020
Created on Dec 10, 2020
Forked from Shapes with SVG

A simple yellow smiley face is drawn with SVG, featuring two eyes, eyebrows, and an arc-shaped mouth. The eyebrows rise and fall in a looping two-second animation using D3 transitions. All shapes are centered and positioned with D3’s `select` and `arc` APIs, with the arc generating the mouth’s curved path. The example demonstrates basic D3 v5 shape creation, group transforms, and chained `transition().duration()` calls for SVG animation.

AI-generated description
MIT Licensed

Similar vizzes