Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars2🌍 Public
AAlen George
Last edited Jul 7, 2019
Created on Jul 7, 2019
Forked from Hello VizHub

This example shows a collection of basic SVG shapes—circles, rectangles, lines, and a path—arranged in a 960×500 canvas. It illustrates how inline `fill` and `stroke` attributes override CSS rules, while a `<g>` group applies a shared cyan fill and black stroke to its children. The rendering relies on raw SVG markup within the HTML file, styled by an external stylesheet that sets a `.lines` class for the polyline and defines stroke properties for the path. No JavaScript or external visualization library is used.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed