Skip to main content
100%

Base HTML

✓ Published1🌍 Public
MMatt Lane
Last edited Jul 29, 2022
Created on Jul 7, 2022
Forked from HTML Starter

This example displays six identical cartoon faces in a grid, each composed of SVG circles, rectangles, and arcs. The faces are rendered using React components, with separate components for the face container, background circle, eyes, glasses, and mouth. The glasses and mouth are drawn using D3’s `arc` generator, while the layout is determined by dividing the viewport dimensions. The code imports React, ReactDOM, and D3 v5, and renders the faces via `ReactDOM.render` into a single `#root` element.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes