Skip to main content
100%

Fork of React Starter

✓ Published0🌍 Public
MMario Ibarra
Last edited Apr 16, 2021
Created on Apr 16, 2021
Forked from React Starter

This example renders a cartoon face built from layered SVG shapes, composed of a yellow background circle, two eyes, and an arched mouth. It uses React components for each facial feature, with a `FaceContainer` providing the SVG canvas and centering transform. The mouth path is generated using d3’s `arc` generator to create an annular sector. All geometry—eye offset, radii, and stroke widths—is passed as props, making the face easily customizable.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes