🌍 Public
Viewing a saved revision (read-only)
6fd133837ff54cf68bbaf611b5a08021
Shapes with SVG new
This example demonstrates how to draw basic geometric shapes and lines using raw SVG elements in VizHub. It shows circles, rectangles, and a line with a path that are positioned on a 960x500 canvas. The code uses native SVG tags including circle, rect, line, path, and g, with inline attributes for styling and transforms to group shapes. The CSS file applies stroke colors and widths to the line elements while hiding page overflow.
AI-generated descriptionAn example showing the capabilities of VizHub.