Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

595bd4634f934d47b197275e989f48ea

Shapes with SVG and CSS

0 stars1🌍 Public
Mmandelmech
Last edited Sep 5, 2019
Created on Sep 5, 2019
Forked from HTML Cars Report

This example demonstrates how fundamental SVG shapes—circles, rectangles, lines, and paths—can be styled and transformed using CSS and inline attributes. The visualization shows four groups of shapes with varied fills, strokes, and stroke widths, including a translated cluster with a purple fill and a black outline. A separate group applies CSS-defined stroke properties to lines and a path. The code uses native SVG elements within an HTML document, with styles defined in an external stylesheet. All shapes are rendered client-side, with no external data or JavaScript libraries involved.

AI-generated description

An example showing the capabilities of VizHub.