Skip to main content
100%

Shapes with SVG

✓ Published0🌍 Public
Ddktaylor916
Last edited Jun 8, 2020
Created on Jun 8, 2020
Forked from HTML Starter

This example demonstrates how to render basic SVG shapes—specifically a circle—within a React application. The visualization displays a single circle element inside a 960x500 pixel SVG canvas. The code uses React's HTML and CSS rendering approach, with a minimal setup that loads an external stylesheet. The stylesheet applies a monospace font and increases the base font size to 2em, affecting any text content. The implementation relies on raw SVG markup directly in the React component rather than a dedicated charting library, showcasing the simplicity of embedding vector graphics in a web page.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes