Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part I

Public visualization

Smiley Face Part I

0 stars0🌍 Public
Llupica.matthew@gmail.com
Last edited Apr 7, 2021
Created on Apr 6, 2021
Forked from D3 Starter

A grid of six-by-three smiley faces renders as SVG via React, with each face randomly varying eye radius, mouth radius, and mouth width. The face is built from composable components: a yellow background circle, two eye circles, and a d3.arc-generated mouth path. The d3 range function creates the 18 faces, while the FaceContainer translates each face’s coordinate system to its center.

AI-generated description

Half of a smiley face

Comments

Sign in to join the discussion.

MIT Licensed