Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
Rrishyossarian
Last edited Dec 21, 2021
Created on Dec 21, 2021

This example shows a stylized smiley face built from three reusable SVG components: a yellow background circle, a pair of eyes, and a mouth drawn as an arc. The face is positioned at the center of a 1060×500 SVG canvas using React components that receive geometry props for radii and offsets. The mouth path is generated with d3.arc(), while BackgroundCircle and Eyes render plain SVG circle elements. React 16.9 and D3 v7 work together, with all drawing handled declaratively through JSX.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes