Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face

Public visualization

Lets make a face

0 stars1🌍 Public
Uumihito
Last edited May 4, 2020
Created on Apr 29, 2020
Forked from Lets make a face

A smiling cartoon face is drawn with D3.js, composed of a yellow circle for the head, two eyes, eyebrows, and a mouth shaped as an arc. The face is centered on an SVG canvas, with the mouth created using the `d3.arc` function and the layout arranged through nested SVG groups. A simple animation is applied via the D3 `transition` method, which moves the eyebrows down and then back up over two seconds each way, creating a subtle expressive effect. The example demonstrates basic SVG composition and state animation without external data sources.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed