Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
MMarco-test
Last edited Mar 30, 2020
Created on Mar 29, 2020
Forked from HTML Starter

A smiling face drawn with SVG paths animates its smile into view. The example builds the face using D3.js v5, constructing a circle for the head and a path for the mouth. Using the `getTotalLength()` method, the code sets a stroke-dasharray and transitions the dashoffset from the full path length to zero, creating a drawing effect over 200 milliseconds. The SVG elements are styled with CSS and rendered within a React-based example.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes