Dataviz 2018 - 1. SVG Basic Elements - Ep3
✓ Published0🌍 Public
This example showcases basic SVG shapes—a circle, rectangle, line, and path—arranged with geometric transformations. It demonstrates how the `transform` attribute’s `scale` and `translate` functions reposition and resize the grouped elements. The code uses raw SVG markup directly in the HTML, styled with CSS selectors like `.lines path` to apply green strokes and rounded line joins. A red-filled circle and a green rectangle appear under a scaled group, while a translated group uses a cyan fill with a black stroke. The path is drawn using the `M` (move-to) and `L` (line-to) commands.
AI-generated descriptionBasic Elements of SVG
MIT Licensed