Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Mme4tba11
Last edited Nov 6, 2022
Created on Nov 6, 2022
Forked from HTML Starter

This example displays fundamental SVG shapes—circles, rectangles, lines, and paths—positioned on a 960×500 canvas. Each shape demonstrates distinct stroke and fill styling, including thick outlines, dashed-free solid colors, and a path defined by absolute coordinates. The code uses raw SVG markup directly in an HTML page, with no external JavaScript libraries. It showcases how CSS-like presentation attributes such as `stroke-width`, `fill`, and `stroke` apply to vector primitives, serving as a minimal introduction to SVG’s drawing model for React-based visualization projects.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes