Skip to main content
100%

Fork of Fork of Let's Make a Face Part I

✓ Published1🌍 Public
NNeeharikaGali
Last edited Feb 23, 2023
Created on Feb 23, 2023

This React-based visualization displays a stylized, cartoon-like face built entirely from SVG shapes. The composition centers on a gradient-filled circle with asymmetrical eyes—one rendered as an ellipse and the other as a circle—along with a mouth and teeth created using D3’s `arc` generator. The `FaceContainer` component defines the SVG canvas and a linear gradient, while modular components for eyes, mouth, and teeth accept numerous numeric props to control positioning and sizing. The final result, a half-completed smiley face, is assembled in `index.js` using ReactDOM rendering with D3 v7 and React 18.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes