🌍 Public
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.
MIT Licensed
Comments
Sign in to join the discussion.