Skip to main content
100%

D3

✓ Published0🌍 Public
SShasvathan Pathmanaban
Last edited Nov 14, 2021
Created on Nov 14, 2021
Forked from Smilly face

A smiling face built from SVG shapes, rendered with React components and D3’s `arc` generator for the mouth and nose. The face is centered via a `g` transform, with a yellow background circle, two eye circles, and an outlined smile path. D3 v7 computes the arc paths, while React 17 manages the component hierarchy and SVG rendering. The code defines reusable components like `BackgroundCircle`, `Eyes`, and `Mouth`, each accepting size or offset props to control the face’s geometry.

AI-generated description

Halfway toward smily face

MIT Licensed

Similar vizzes