Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Darren's Vizhub face Part 4+

Public visualization

Viewing a saved revision (read-only)

e5c6a8bcb92242d2a5524495c60b43c9

Darren's Vizhub face Part 4+

2 stars2🌍 Public
DDarren Grafton
Last edited Feb 27, 2021
Created on Feb 27, 2021

A grid of eighteen randomly generated smiley faces, each rendered with React and SVG, uses d3 to create the mouth arc and generate random values for facial features. The face, eyes, nose, and mouth are composed from separate React components, with each face receiving randomized properties like eye offset, radius, and tooth size via `Math.random()` and d3's `range` function. The resulting collection shows the variety possible through simple parameter variation, with each face displaying a distinct expression.

AI-generated description

Random faces!