Skip to main content
100%

svg-fundamentals

✓ Published0🌍 Public
SStefany
Last edited Mar 7, 2023
Created on Mar 7, 2023
Forked from HTML Starter

This example demonstrates basic SVG shapes rendered directly in a web page, including paths, circles, rectangles, and lines. A green path connects two line segments using relative and absolute coordinates, while layered circles show opacity blending, and a styled rectangle includes stroke properties. The code uses the raw SVG API with elements like `<path>`, `<circle>`, `<rect>`, and `<line>`, with attributes such as `d`, `cx`, `r`, and `stroke-width`. It draws on Curran Kelleher’s 2022 D3 course materials to illustrate fundamental vector graphics without involving D3 or external data sources.

AI-generated description

A demonstration of SVG shapes.

Following Curran Kelleher's 2022 D3 course. https://www.freecodecamp.org/news/data-visualizatoin-with-d3/

MIT Licensed

Similar vizzes