Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Cching-tw
Last edited Oct 6, 2020
Created on Oct 6, 2020
Forked from HTML Starter

D3.js draws a simple face on an SVG canvas, using its `select` to target the `svg` element and reading its `width` and `height` attributes. The example constructs facial features—such as eyes and a mouth—as SVG shapes positioned within the 960×500 coordinate space. The code relies on D3 v5’s core selection API, with dimensions accessed via the `attr` method, and renders all elements as static vector graphics without interaction or animation.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes