Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML Svg

Public visualization

Hello HTML Svg

0 stars0🌍 Public
VVAIBHAV PAL
Last edited May 6, 2021
Created on May 6, 2021
Forked from HTML Starter

This example shows a simple React application that renders a yellow circle with a black outline inside an SVG canvas, accompanied by two smaller unfilled circles. It demonstrates how to combine React with SVG elements using ReactDOM.render() to mount the component. The code imports React and ReactDOM from UMD builds, defines a functional component that returns SVG markup with hardcoded attributes like cx, cy, r, and stroke-width, and inserts it into a root div. The rendering approach relies on React’s declarative JSX syntax to describe the SVG shapes.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed