Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
BBrian Machado
Last edited Jul 2, 2022
Created on Jul 1, 2022
Forked from HTML Starter

A grid of eight procedurally generated faces demonstrates the use of React components and D3.js v7 in a static SVG rendering. Each face, composed of a yellow circle, black-outlined background, two eyes, and an arc-based mouth, receives randomized props for stroke width, eye offset, eye radius, and mouth dimensions. The React components like `BackgroundCircle`, `Eyes`, `Mouth`, and `FaceContainer` structure the visualization, while D3's `arc` function draws the mouth path. The `range` function generates the layout, and `ReactDOM.render` mounts the app to the DOM.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes