Skip to main content
100%

Lets make a face

✓ Published0🌍 Public
Kkhuton
Last edited Jan 31, 2022
Created on Jan 19, 2022
Forked from HTML Starter

This visualization assembles a simple cartoon face from basic SVG shapes, featuring a yellow circular head, two dark eyes, and an arc-shaped mouth. The face is centered within a 960 by 500 viewport, with its parts positioned relative to the center point. The example demonstrates declarative component composition in React, where each facial feature is a separate function returning SVG elements. It utilizes d3’s `arc` generator to create the mouth’s path, while the background and eyes are plain SVG circles defined with specific coordinates and radii.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes