Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
OOliOsb
Last edited May 16, 2022
Created on May 15, 2022

This example shows a grid of eighteen stylized smiley faces, each composed of reusable React components for the background circle, eyes, and mouth. The faces are generated by mapping over a D3 range and rendered as SVG, with randomized eye radii giving each face slight variation. The code leverages React for component composition and lifecycle, D3 v5’s `arc` generator for the mouth path, and D3’s `range` to produce the repeated instances.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes