Skip to main content
100%

Let's Make a Face with D3.js

✓ Published0🌍 Public
AAustin Krauss
Last edited Jan 23, 2021
Created on Jan 23, 2021
Forked from HTML Starter

This example uses D3.js to draw a smiling face with SVG shapes and animate a unibrow. It constructs a yellow circle for the head, black circles for eyes, and a nose and mouth using the `d3.arc` path generator. A rectangular unibrow transitions vertically over four seconds, alternating between a thick and thin state. The code relies on D3 v6 selections, `transition` for animation, and SVG attributes within an HTML page.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes