Skip to main content
100%

Face made with d3.js

✓ Published1🌍 Public
SSebastian Barrett
Last edited Feb 16, 2023
Created on Oct 20, 2021
Forked from D3 Starter

A face built from SVG primitives animates through a series of facial expressions. The circular face, positioned via an SVG group transform, holds two eyes that pulse by scaling their radius. Eyebrows shift vertically and rotate, while the mouth, drawn with the `d3.arc` path generator, expands and contracts its inner and outer radii. The `d3.selection.transition` API orchestrates these 2000-millisecond animations, creating a looping, humorous sequence. The example uses d3.v7 to manipulate and transition the SVG elements directly.

AI-generated description
MIT Licensed

Similar vizzes