Skip to main content
100%

Let's Make a Face with D3.js

✓ Published1🌍 Public
AAaron Guillen
Last edited May 26, 2020
Created on May 25, 2020

A smiling face built from SVG circles and an arc appears on a blue background. The left eye is static, while the right eye slides downward over two seconds using a D3 transition on the `y` attribute. The mouth is drawn with `d3.arc()` inside a `<g>` element, positioned via a translate transform. The example uses D3 v3 selections and appends shapes to an SVG canvas with explicit width and height attributes, rendering entirely through animated vector graphics.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes