Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed