Skip to main content
100%

shapes using svg

✓ Published2🌍 Public
RRITUZZ
Last edited Jan 24, 2021
Created on Jan 22, 2021
Forked from Hello VizHub

This example displays a static SVG canvas containing basic geometric shapes: a blue circle, a green rectangle, a black line, and a green path. It demonstrates how to define shapes directly in HTML using SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with styling applied through an external stylesheet. The visualization uses no JavaScript libraries, relying purely on inline SVG attributes and CSS classes such as `.patth` to set stroke properties, while the root `<svg>` element is sized to 1000 by 1000 pixels.

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