Skip to main content
100%

Hello HTML

✓ Published0🌍 Public
MMatty Danbury
Last edited Sep 7, 2022
Created on Sep 6, 2022
Forked from Hello HTML

A grid of 70 randomly generated faces fills the viewport, each face rendered as an SVG composed of a yellow background circle, two eyes, and an arc-based mouth. The React components `Face`, `FaceContainer`, `BackgroundCircle`, `Eyes`, and `Mouth` structure the drawing, while D3’s `range` generates the face count and its `arc` helper creates the mouth path. Each face varies in eye position, eye radius, and mouth dimensions via `Math.random()` calls, producing a playful, non-repeating pattern. The example demonstrates combining React’s component model with D3’s utility functions for SVG generation.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes