Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SCG and CSS

Public visualization

Shapes with SCG and CSS

0 stars0🌍 Public
BBarryC7
Last edited Oct 27, 2019
Created on Oct 27, 2019
Forked from Hello VizHub

This example demonstrates basic SVG shape rendering with inline presentation attributes and CSS styling. Circles and rectangles are drawn using `<circle>` and `<rect>` elements, with some shapes inheriting fill and stroke properties from a parent `<g>` group. A separate group classed as `lines` contains a `<line>` and a `<path>` element, both styled with thick black strokes via CSS, while the path receives a pink stroke color and round line joins. The SVG canvas is scaled with a `transform` attribute, and the page uses an external stylesheet to apply global layout and stroke rules.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed