Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
MMarta
Last edited Mar 16, 2021
Created on Mar 2, 2021
Forked from Hello HTML

This example shows a stylized cartoon face rendered as SVG, with a yellow circular background, two eyes, and a mouth built from a D3 arc. The face is centered on a 960 by 500 canvas using React components that compose `FaceContainer`, `BackgroundCircle`, `Eyes`, and `Mouth`. The code uses React 16.9, ReactDOM, and D3 v6’s `arc` generator to define the mouth’s path. All facial features are parameterized via props, allowing the face’s dimensions and positions to be adjusted independently.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes