Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

6d3a32a3fd184616b76346db23e88373

Fork of Fork of HTML Starter

0 stars0🌍 Public
KK V VINITHA
Last edited Feb 24, 2022
Created on Feb 24, 2022

This example renders a simple smiley face using React and SVG, drawing a yellow circle with two smaller black circles for eyes. The code uses React 17 and D3 v7 via UMD scripts from unpkg, with ReactDOM rendering the SVG elements into the DOM. The visualization demonstrates basic SVG shape attributes like `cx`, `cy`, `r`, and `stroke`, while CSS removes the body margin to display the graphic edge-to-edge. The static composition is defined entirely through JSX coordinates and radii.

AI-generated description

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

See also React Starter.