Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's Make a Face Part I

Public visualization

Fork of Let's Make a Face Part I

0 stars0🌍 Public
SSimiKay15
Last edited Nov 5, 2021
Created on Nov 5, 2021

This example renders a grid of procedurally generated smiley faces using React and SVG. Each face is composed of separate component files for the background circle, eyes, and mouth, which are parameterized by randomized values for eye radius and mouth curvature. The visualization uses d3's arc generator to construct the mouth path and d3's range to create the repeated face instances. The code demonstrates a modular component-based approach to building simple data-driven graphics within a React framework.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed