Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
JJYK
Last edited Feb 28, 2021
Created on Feb 27, 2021
Forked from Hello HTML

A grid of 18 yellow smiley faces renders in React, each with randomized eye and mouth sizes for variety. Built with React 17 and D3 v5, the example composes SVG components—`BackgroundCircle`, `Eyes`, and `Mouth`—using D3's `arc` generator for the mouth path. Faces are generated via `d3.range` and mapped to `Face` components, which group all elements inside an SVG `<g>` translated to the center. The arrangement demonstrates reusable component architecture and dynamic prop-based styling without external data.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes