Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
Wwangshain
Last edited Oct 27, 2021
Created on Oct 26, 2021
Forked from Hello HTML

This example renders a parameterized cartoon face using React components and SVG. The `Face` component composes a yellow background circle, two eyes, and an arc-based mouth, all positioned via a `FaceContainer` that applies a translation transform. The mouth is drawn with d3’s `arc` generator, using inner and outer radii and fixed start/end angles. The code uses React 16, ReactDOM 17, and d3.v7, with the face dimensions and feature offsets passed as props to control the layout.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes