Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
BBalu-2111
Last edited Jun 19, 2023
Created on Jun 17, 2023
Forked from HTML Starter

A smiling yellow face is drawn with SVG circles, rectangles, and an arc path, then animated when its eyebrows jump upward and settle back down. The example uses D3.js version 5 selections and transitions, including `transition().duration()` to move the eyebrow group's `transform` attribute. A React starter variant is mentioned in the README, though the core code relies on D3’s `select`, `arc`, and attribute manipulation to compose the face from basic geometric shapes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes