Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part 1

Public visualization

Viewing a saved revision (read-only)

ef1bfb4a034e460a95c7dfca475fca83

Smiley Face Part 1

0 stars0🌍 Public
GGKoppin
Last edited Sep 13, 2021
Created on Aug 26, 2021
Forked from HTML Starter

This example shows a yellow smiley face constructed from SVG shapes, with a circular head, two eyes, and a mouth arc rendered on a dark background. The mouth uses d3.arc to define a semicircular path, while the head and eyes are plain circle elements. The components are built with React functional components and mounted via ReactDOM, with d3.v7 providing the arc generator. The layout uses SVG grouping and translations to center the face at the viewport midpoint.

AI-generated description

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

See also React Starter.

Halfway to a smiley face