Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Datavis w/ Curran - Fork of Hello HTML

Public visualization

Datavis w/ Curran - Fork of Hello HTML

0 stars1🌍 Public
LLevi Fletcher
Last edited May 6, 2022
Created on May 5, 2022
Forked from Hello HTML

This example renders a grid of SVG smiley faces using React components, each with randomized facial features such as eye position, eye radius, mouth width, and stroke thickness. The code imports React and ReactDOM for rendering, while D3’s `range` function generates the 18 face instances, and D3’s `arc` API constructs the mouth path. Each face is composed of reusable components like `BackgroundCircle`, `Eyes`, and `Mouth`, all positioned within a translated SVG group.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed