Skip to main content
100%

Shapes with SVG

✓ Published1🌍 Public
FFaysalIbnMohi
Last edited Feb 14, 2022
Created on Feb 12, 2022
Forked from HTML Car Report

This example demonstrates basic SVG shape creation and grouping within a static web page. It shows circles, rectangles, a line, and a path rendered directly in the markup, with CSS styling for stroke, fill, and line joins. The code uses standard SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, along with the `<g>` grouping element and transform translations. No external libraries are loaded; all shapes are hand-coded in `index.html` and styled through `styles.css`, making it a pure SVG demonstration without D3 or additional JavaScript APIs.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes