Skip to main content
100%

Let's Make All The Faces

✓ Published0🌍 Public
SShiryaW
Last edited Jan 13, 2022
Created on Jan 12, 2022

The visualization displays a grid of 21 identical gradient-faced smiley characters, each rendered as a separate React SVG component. Built with React 16.9 and D3 v7, it uses D3’s `arc` generator to draw the mouth, while eyes, nose, and background circle are plain SVG shapes. A linear gradient defined in SVG `<defs>` fills each face, and all faces share fixed proportions from a single `faceProps` object, with the `range` function from D3 generating the repeated array.

AI-generated description

Smiley face implementation with React. (cursed)

MIT Licensed

Similar vizzes