Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
WWill Hipson
Last edited Apr 26, 2021
Created on Apr 23, 2021

This visualization shows a stylized smiley face constructed from SVG shapes, including a yellow background circle, two eyes, a mouth drawn with an arc, and two rectangular teeth. Built with React and D3 v6, the code uses the D3 `arc` API to generate the mouth path. The face is centered on a 960 by 500 SVG canvas, with all components positioned relative to the center point. The example demonstrates composable React components for each facial feature, accepting props for size and offset values.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes