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 stars1🌍 Public
RRubanda
Last edited Sep 27, 2022
Created on Sep 27, 2022

This example renders a stylized robot-like face constructed from reusable React components. An SVG group centers the face, which includes a gradient-filled background circle, offset eyes, a mouth arc, and teeth drawn with D3’s `arc` generator and SVG `<line>` elements. Each facial feature is parameterized with props for position, radius, and stroke width, allowing easy customization. The face is assembled from separate components—`FaceContainer`, `BackgroundCircle`, `Eyes`, `Mouth`, and `Teeth`—using React and D3 v7, with the entire SVG output generated client-side.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed