Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
RRahel Gunaratne
Last edited May 10, 2021
Created on May 10, 2021
Forked from Hello HTML

This example shows a grid of cartoon faces, each with a yellow circular background, two eyes, and an arc-shaped mouth. The faces are generated by mapping over an array created with `d3.range` and rendering React components for each face. The code uses `d3.arc` to compute the mouth path, and each face randomizes its eye radius and mouth dimensions using `Math.random`. The `Face` component composes smaller components like `BackgroundCircle`, `Eyes`, and `Mouth`, all placed inside an SVG via `FaceContainer`.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes