Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

919cffce7e2c46e7b2c8562cb92dbcc5

Fork of HTML Starter

0 stars0🌍 Public
AAngel Lam
Last edited Mar 6, 2021
Created on Mar 4, 2021
Forked from HTML Starter

This example generates a grid of 18 procedurally varied faces using React and D3. Each face is composed of a yellow circle with a black border, two eyes, and a D3 arc-based mouth inside an SVG container. The faces are randomly generated with attributes such as eye offset, eye radius, and mouth width using JavaScript’s Math.random. The code imports React, ReactDOM, and D3’s range and arc functions, rendering the faces as SVG elements to the page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.