Skip to main content
100%

Fork of Fork of Fork of Fork of Let's Make a Face Part I

✓ Published0🌍 Public
Ddeep1358
Last edited Apr 10, 2021
Created on Apr 10, 2021
Forked from Hello VizHub

A field of fifteen yellow smiley faces, each drawn with SVG circles and a D3 arc, repeats in a grid. The faces vary slightly in stroke width, eye radius, and mouth thickness due to random values from `Math.random()`. The React components `Face`, `Eye`, `Mouth`, and `BackgroundCircle` are assembled within a `FaceContainer` that applies a translation. The D3 `arc` API generates the mouth path, while the `range` function from d3 creates the iteration array for the map.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes