Skip to main content
100%

Face1

✓ Published0🌍 Public
TTung Pham
Last edited Mar 13, 2021
Created on Mar 12, 2021
Forked from Hello HTML

A grid of thirty cartoon faces, each rendered as an independent SVG component, demonstrates how React composes reusable visualization elements. Each face uses D3’s `arc` generator to draw a mouth with a randomized arc angle and radius, while static SVG circles form the background, eyes, and outer stroke. The faces vary randomly in eye size, eye offset, mouth radius, and mouth width, all generated by `Math.random()` within fixed ranges. The code uses React 17, D3 v6, and SVG within a `FaceContainer` that translates a group to each face’s center.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes