Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

d3082c0c6bc744df89e4695337e358ff

Fork of HTML Starter

0 stars0🌍 Public
KKunkgg
Last edited Mar 21, 2021
Created on Mar 20, 2021
Forked from HTML Starter

This example displays a simple cartoon face using React and SVG, with a yellow circular head, black stroke outline, two eyes, and a curved mouth. The face is composed of separate React components for the background, eyes, and mouth, all nested inside a container that centers them. The mouth uses the d3.arc function to generate a path, while the layout of facial features is calculated from the face dimensions. The code renders the face into a root element using ReactDOM.

AI-generated description

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

See also React Starter.