Skip to main content
100%

Fork of Smiley Face Part VI

✓ Published0🌍 Public
Ddvinubius
Last edited May 15, 2021
Created on May 15, 2021

A grid of randomly generated smiley faces, each rendered as a standalone SVG, demonstrates composable React components paired with D3 utilities. The faces vary in stroke width, eye offset, eye radius, mouth radius, and background hue, which is assigned via an HSL color string. The implementation uses React components for structure and the D3 `arc` function from `d3` v5 to generate each mouth’s path. Faces are created using a `range` from D3 and randomly parameterized within the app.

AI-generated description

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

MIT Licensed

Similar vizzes