SVG Fundamentals
✓ Published2🌍 Public
This example demonstrates fundamental SVG shape elements—circles, rectangles, lines, and paths—statically positioned on a 960×500 canvas. It shows how fill, stroke, stroke-width, and coordinate attributes control appearance, while explaining that no z-index exists; the document order determines stacking. The code uses raw SVG markup within an HTML page, with CSS resets for margins and overflow. Path commands like `M` and `L` illustrate absolute positioning, contrasting with relative `l` syntax, providing a hands-on introduction to SVG’s drawing model for future data-visualization work.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed