Skip to main content
100%

Fork of Hello HTML tutorial

✓ Published0🌍 Public
Mmattbwebster
Last edited Sep 1, 2021
Created on Aug 26, 2021
Forked from Hello HTML

This example renders a grid of 18 randomly parameterized SVG faces using React and D3.js v7. Each face combines a yellow background circle, two eyes, and a mouth, with positions and sizes derived from random values generated via `Math.random()` and `d3.range()`. The mouth is created with D3’s `arc()` API to produce an annular sector path. The composition is assembled from modular React components, including `FaceContainer` for the SVG wrapper, `BackgroundCircle`, `Eyes`, and `Mouth`, all coordinated through a single `Face` component.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes