Skip to main content
100%

SVG fundamental

✓ Published1🌍 Public
NNafi
Last edited Jul 5, 2022
Created on Jul 4, 2022
Forked from HTML Starter

This example shows four black horizontal bars of decreasing width labeled A through D, creating a simple data-encoding visualization. The bars are drawn as SVG `<rect>` elements with fixed pixel dimensions, while the labels use SVG `<text>` elements. The page relies on plain HTML, CSS for styling (including font size and margin reset), and JavaScript is referenced though not directly used in the visible code. Rendering is handled entirely through inline SVG within the `index.html` file, demonstrating fundamental SVG shape and text placement without external libraries or data sources.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

MIT Licensed

Similar vizzes