Skip to main content
100%

My first SVG face

✓ Published0🌍 Public
FFelipe Restrepo felipollo
Last edited Sep 23, 2024
Created on Sep 22, 2024
Forked from Hello HTML

A grid of 18 cartoon faces, each rendered as a yellow SVG circle with black outlines, eyes, and a mouth, demonstrates reusable React components for data-driven graphics. The faces are generated with randomized parameters for stroke width, eye positioning, eye radius, and mouth dimensions using `Math.random()`. The code composes `FaceContainer`, `BackgroundCircle`, `Eyes`, and `Mouth` components, with the mouth path computed via d3's `arc()` generator. The visualization uses React 16 and d3.v7, rendering purely through SVG elements without any canvas or interactive behavior.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes