Skip to main content
100%

Hello HTML

✓ Published1🌍 Public
GGordon Yang
Last edited Apr 7, 2021
Created on Apr 6, 2021
Forked from HTML Starter

This example renders a simple smiley face using React components for SVG shapes, with a yellow circle as the face, black eyes, and a mouth drawn with a D3 arc generator. The application uses ReactDOM to mount the SVG into an HTML page, and imports the `arc` function from D3 v6 to compute the mouth’s path. All positions and sizes are defined as constants, and the face is centered using an SVG transform. No data source is involved; the visualization is purely illustrative.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes