Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part II

Public visualization

Smiley Face Part II

0 stars1🌍 Public
Jjth500
Last edited Apr 22, 2023
Created on Apr 22, 2023
Forked from Hello HTML

This example renders a full-screen smiley face using React and D3, centered within an SVG canvas sized to the browser window. The face consists of reusable components: a yellow background circle with a black stroke, two eyes positioned symmetrically, and a mouth drawn with a D3 arc path. A polygon forms a nose above the mouth. The layout positions all features relative to the window center, with radii and offsets calculated dynamically from the viewport height.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed