Skip to main content
100%

Let's make a smiling face!

✓ Published3🌍 Public
DDannie2020
Last edited Sep 11, 2020
Created on Sep 11, 2020
Forked from HTML Starter

This example draws a smiling face as a yellow circle with two eyes, animated eyebrows, and an arc-based mouth, all centered within an SVG canvas. It uses D3 v6 and React, importing `select` and `arc` to build the shapes and apply a `transition` that moves the eyebrows up and down over two seconds. The face elements are grouped and translated using SVG transforms, with fixed numeric properties for spacing, offsets, and dimensions. The mouth is generated from an arc generator with specified inner and outer radii and angular ranges.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes