Skip to main content
100%

Fork of Smiley Face Part V

✓ Published0🌍 Public
Ssmsk2980
Last edited Apr 11, 2021
Created on Apr 11, 2021
Forked from Smiley Face Part V

A grid of eighteen smiley faces, each with randomly varied stroke width, eye offset, eye radius, and mouth dimensions, is rendered in SVG. The faces are drawn using D3’s arc generator for the mouth and React with ES6 modules, with each face composed from separate component files. The random parameters are generated inline using Math.random, and the layout is produced by mapping over a D3 range sequence.

AI-generated description

Splitting React components into multiple files using ES6 modules. Bonus: React Fragments!

MIT Licensed

Similar vizzes