Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 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.

MIT Licensed

Similar vizzes