SVG Fundamentals
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed