Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello

Public visualization

Viewing a saved revision (read-only)

2d26c22decb947c283f4ec4c399db1d6

Fork of Hello

0 stars0🌍 Public
JJuan Manuel Castro
Last edited Aug 7, 2021
Created on Aug 7, 2021
Forked from Hello HTML

This example renders a yellow smiley face as a static SVG graphic using React’s `ReactDOM.render` to mount a component that returns SVG circle elements. The component defines dimensions, eye offsets, and radii as constants, then draws a large outlined circle for the face and two smaller circles for the eyes. The code relies on React 17 and ReactDOM, with all shapes positioned manually via SVG attributes. It demonstrates basic declarative SVG creation within a React component, with no interactivity or data binding.

AI-generated description

A bare minimum HTML page.