Skip to main content
100%

Fork of Fork of Fork of Hello HTML

✓ Published0🌍 Public
AAaronnSeah
Last edited Oct 29, 2021
Created on Oct 29, 2021

This example builds a data-driven face using React and SVG primitives. It composes a yellow circular background, two eyes, and an arc-based mouth into a reusable `Face` component. The `Mouth` component uses `d3.arc` to generate a path, while a separate SVG tracks mouse movement, drawing a red circle that follows the cursor. The app renders via `ReactDOM.render`, with all geometry defined by explicit parameters like `eyeOffsetX` and `mouthRadius`.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes