Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello HTML

Public visualization

Viewing a saved revision (read-only)

d08563c6ad5f4030a1a6b6f8eb037499

Fork of Hello HTML

0 stars0🌍 Public
GGrygorii Shevchenko
Last edited Jan 14, 2023
Created on Jan 14, 2023
Forked from Hello HTML

This example draws a simple yellow smiley face as an SVG graphic using React and ReactDOM. It defines three circles: a large yellow circle for the head with a black stroke, and two smaller black circles positioned offset from the center to represent the eyes. The component sets explicit pixel dimensions for the SVG canvas and uses hard-coded constants for distances and radii. The rendering is accomplished by mounting the React component to a root div element, utilizing the production builds of React and ReactDOM loaded from a CDN.

AI-generated description

A bare minimum HTML page.