Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Faces Parte VI

Public visualization

Viewing a saved revision (read-only)

e2c88308aa7341569016317f8c029c97

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()