Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Fork of React Starter

0 stars0🌍 Public
PPiotr Paszek
Last edited May 21, 2022
Created on May 21, 2022
Forked from React Starter

The example renders a grid of fifteen cartoon faces, each composed of a yellow background circle, two eyes, and an arc-shaped mouth. The faces are generated using React components, with random eye radius values calculated via `Math.random`. D3’s `arc` generator creates the mouth paths, while `range` from D3 produces the array for the five-by-three grid. SVG elements are drawn through a React container that translates each face to a common center.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed