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
OOliOsb
Last edited May 16, 2022
Created on May 15, 2022

This example shows a grid of eighteen stylized smiley faces, each composed of reusable React components for the background circle, eyes, and mouth. The faces are generated by mapping over a D3 range and rendered as SVG, with randomized eye radii giving each face slight variation. The code leverages React for component composition and lifecycle, D3 v5’s `arc` generator for the mouth path, and D3’s `range` to produce the repeated instances.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed