Skip to main content
100%

Let's make a face

✓ Published0🌍 Public
AAndreas Papastergiou
Last edited Aug 14, 2021
Created on Aug 13, 2021
Forked from HTML Starter

This example renders a simple cartoon face using SVG shapes. A yellow circle forms the head, while two black circles serve as eyes, all positioned relative to the SVG’s width and height attributes. The code uses D3 v7’s `select` and `arc` (though only `select` is exercised) to append and style the elements. The face is drawn statically without interaction, demonstrating basic D3 selection and SVG attribute manipulation in a React-compatible bundle.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes