Fork of HTML Starter
✓ Published2🌍 Public
This example shows a single circle rendered at the center of an SVG canvas using React. The code defines a React component that returns an SVG element with a fixed width and height, positioning the circle at coordinates calculated from those dimensions. It imports React and ReactDom, but does not yet mount the component to the DOM. The visualization uses SVG for rendering and demonstrates a minimal React setup for drawing shapes, with the circle’s radius and position hard-coded in JavaScript constants.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed