Skip to main content
100%

Fork of Smiley Face Part III mdh

✓ Published0🌍 Public
Mmerrickhaigler
Last edited Aug 2, 2021
Created on Aug 2, 2021

A React and D3 smiley face renders as a yellow circle with black outline, two eyes, and an arc-shaped mouth centered on a 960-by-500 SVG. The app composes modular React components—BackgroundCircle, Eyes, Mouth, and FaceContainer—which pass numeric props for radii, offsets, and stroke width. The mouth uses d3.arc to generate a path with inner and outer radii, while the face is centered via an SVG group transform. Static geometry and hard-coded dimensions define the visualization.

AI-generated description

Smiley face implementation with React & D3.

MIT Licensed

Similar vizzes