Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Pt1

Public visualization

Viewing a saved revision (read-only)

88a5354a98b041abbd2ec0337db5bdbe

Smiley Face Pt1

0 stars0🌍 Public
Iisavedalex
Last edited May 16, 2021
Created on May 3, 2021
Forked from HTML Starter

Rendered in SVG via React, this example uses reusable components to assemble a grid of twelve smiley faces, each with randomized eye and mouth sizes. The `Face` component composes separate components for the background circle, eyes, and mouth, with a centered transformation from `FaceContainer`. D3's `arc` function generates the mouth path, while `range` from D3 creates the array used to map the faces within the React app.

AI-generated description

Halfway towards a smiley face.