Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Fork of HTML Starter

0 stars0🌍 Public
Yyeeholai
Last edited Jan 19, 2022
Created on Jan 18, 2022
Forked from HTML Starter

This example displays a grid of smiling faces created with React and rendered as SVG. Each face is composed of reusable components for the background circle, eyes, and mouth, all positioned within an SVG container. The code uses d3’s `arc` function to generate the mouth path and `range` from d3 to create the array of faces. Each face is generated with randomized eye sizes, and the dimensions are defined by the `width` and `height` variables in the React app.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed