Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML

Public visualization

Hello HTML

0 stars0🌍 Public
JJohn Lewis
Last edited Oct 31, 2021
Created on Oct 30, 2021
Forked from Hello HTML

A grid of 18 randomly generated cartoon faces demonstrates how React components can compose SVG primitives with D3-generated paths. Each face uses the reusable `Face` component, which assembles a yellow `Head` circle, two `Eyes` circles, and a `Smile` path created via `d3.arc()` with randomized inner and outer radii. Face features vary per instance through props like `eyeOffSetX`, `stkWidth`, and `smileRadius`, while `ReactDOM.render` places all faces into the DOM. The example highlights mixing declarative React state with D3’s arc generator for parameterized visual output.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed