Skip to main content
100%

Smiley Face Part VI

✓ Published103🌍 Public
CCurran Kelleher
Last edited Feb 13, 2020
Created on Aug 28, 2019

A grid of randomly generated smiley faces renders in SVG using React components and D3. Each face varies in stroke width, eye size and position, and mouth dimensions, created through reusable React components like BackgroundCircle, Eyes, and Mouth. The Mouth component uses d3.arc to draw a smile path with configurable inner and outer radii. The App maps over a range of 18 indexes, generating each face with random property values.

AI-generated description

Smiley face implementation with React & D3, taking full advantage of React components and ES6 modules.

MIT Licensed

Similar vizzes