Skip to main content
100%

Lets make a face with D3.js

✓ Published1🌍 Public
BBoris97929500
Last edited Oct 21, 2020
Created on Oct 21, 2020

A smiling yellow face composed of SVG shapes is built from a circle head, two eyes, eyebrows, and an arc-based mouth. The right eyebrow repeatedly animates upward and downward using D3's `transition` with a chained `on("end")` callback to loop indefinitely. The example uses D3 v5's `select`, `arc`, and `attr` to position elements relative to a centered group, with the face drawn at a fixed 960×500 viewport size.

AI-generated description
MIT Licensed

Similar vizzes