Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Faces Parte VI

Public visualization

Fork of Smiley Faces Parte VI

0 stars0🌍 Public
OOscar Muindi
Last edited Apr 27, 2023
Created on Apr 27, 2023

A grid of eighteen randomly generated smiley faces fills the screen, each face differing in eye placement, eye size, mouth radius, and stroke thickness. The visualization uses React components to compose each SVG face, with ReactDOM rendering the array produced by d3.range and Math.random() supplying the variation. D3’s arc generator creates the mouth paths within each rendered SVG.

AI-generated description

Randomness with Math.random()

Comments

Sign in to join the discussion.

MIT Licensed