Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
RRoland
Last edited Feb 4, 2022
Created on Feb 2, 2022
Forked from HTML Starter

This example displays a grid of yellow smiley faces, each with ears, eyes, and a mouth, rendered as SVG using React components. The face features are modularized into separate React components like `BackgroundCircle`, `Ears`, `Eyes`, and `Mouth`. The mouth is generated with the D3 `arc` API, while the positions and sizes of features vary with `Math.random()` and a scaling coefficient. The D3 `range` function creates an array of nine faces, each individually styled and positioned within the viewport.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes