Skip to main content
100%

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

✓ Published0🌍 Public
CCHANDU BHARGAVI
Last edited Feb 21, 2023
Created on Feb 21, 2023

A React and D3 v7 composition builds a smiling face, showing how reusable SVG components combine through props. The `Face`, `Eyes`, `Mouth`, and `Teeth` components use D3's `arc()` generator to create concentric shapes, while a `linearGradient` fills the background circle in green-to-yellow. A static set of line elements renders teeth, with prop-driven dimensions controlling eye radius, mouth width, and offsets.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes