Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part II

Public visualization

Smiley Face Part II

0 stars0🌍 Public
RRandyElkins
Last edited Aug 9, 2021
Created on Jul 30, 2021
Forked from Hello HTML

A grid of randomly generated smiley faces fills the frame. Each face uses random values for stroke width, eye size and position, mouth radius, and background color, creating a varied collection. Built with React and D3, the faces are composed of SVG primitives: circles for the background and eyes, and a D3 arc path for the mouth. The D3 `range` function generates the six-by-three grid of faces, while helper functions produce random integers and RGB colors.

AI-generated description

Half-way towards a smiley-face.

Comments

Sign in to join the discussion.

MIT Licensed