Skip to main content
100%

Make a Face

✓ Published0🌍 Public
SSophia Murage
Last edited Mar 18, 2020
Created on Mar 17, 2020
Forked from HTML Starter

This example renders a simple face from primitive SVG shapes. A yellow circle is centered on a purple background, with its radius equal to half the SVG’s height. The code uses D3 v5’s `select` to grab the `svg` element and reads its `width` and `height` attributes to position the circle dynamically. The visualization demonstrates basic SVG attribute manipulation with D3, creating a clean, minimal composition without data or interaction.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes