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 stars1🌍 Public
GGulrez
Last edited Oct 31, 2018
Created on Oct 31, 2018
Forked from HTML Cars Report

This example uses SVG elements and CSS to draw basic shapes on a web page. It shows a circle, a rectangle, a line, and a path, all placed directly within an SVG element with a fixed width and height. The rendering approach uses raw SVG markup without any JavaScript libraries like D3, relying on presentational attributes such as `stroke`, `stroke-width`, and `fill` to style the shapes. The CSS file sets the body margin and hides overflow, while a `.highlighted` class defines a red color rule that is not applied in the current markup.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed