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
PPratik Karna
Last edited Sep 7, 2022
Created on Sep 7, 2022

A stylized smiley face is drawn as a set of SVG shapes, with a gradient-filled background circle, two asymmetric eyes, a mouth arc, and a row of teeth rendered as lines. Built with React and D3 v7, the face’s geometry is parameterized as props, and D3’s `arc` generator creates the mouth and teeth paths. The teeth use hard-coded coordinate offsets to simulate individual tooth separations, while the SVG is assembled from reusable component functions with a linear gradient defined in `defs`.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed