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 stars0🌍 Public
Iilsan142
Last edited Oct 28, 2022
Created on Oct 28, 2022
Forked from Hello VizHub

This example demonstrates the use of raw SVG shapes within an HTML page, displaying circles and rectangles at specific coordinates. The code uses native SVG elements like `<circle>` and `<rect>` positioned on a 960×960 canvas, with some shapes colored via `fill` attributes while others remain default black. It applies basic CSS styling through an external stylesheet, including a `.highlighted` class and page-level body margins. No JavaScript libraries are used; the visualization relies solely on static SVG markup and Cascading Style Sheets for rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed