Skip to main content
100%

Shapes with Svg, Css

✓ Published0🌍 Public
Kkau91
Last edited Jun 16, 2019
Created on Jun 16, 2019
Forked from Hello VizHub

This example demonstrates how SVG shapes can be styled and transformed using both SVG attributes and CSS. It shows circles, rectangles, lines, and paths arranged in a 960x500 viewport, with nested `<g>` elements applying scaling, translation, fill colors, and stroke properties. The code uses raw SVG markup in HTML without D3.js API calls, though an unused import statement references d3's `select` function. The rendering relies solely on the browser's native SVG support, with the `styles.css` file defining additional class-based styling and page layout.

AI-generated description
MIT Licensed

Similar vizzes