Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Hello HTML

Public visualization

Fork of Fork of Fork of Hello HTML

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed