Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello HTML

Public visualization

Fork of Hello HTML

0 stars0🌍 Public
KKhademAlimi
Last edited Dec 2, 2023
Created on Nov 29, 2023
Forked from Hello HTML

The example forks the classic "Hello HTML" to render a cartoon face with SVG, composed of a yellow background circle, two simple eyes, and a mouth arc. The face is assembled on a React canvas using reusable components that wrap SVG elements inside a central `<g>` transform. The mouth is computed with the d3 `arc` API, which generates a path using an inner radius, outer radius, and start/end angles. The layout uses a fixed 960x500 pixel SVG, with positions and dimensions calculated from the center coordinates and parameters like stroke width and eye offsets.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed