Skip to main content
100%

Pseudo Horizontal Bar chart

✓ Published5🌍 Public
AAshwani Sajwan
Last edited Apr 21, 2024
Created on Apr 21, 2024

This example shows four black horizontal bars of varying lengths on a light gray background, with SVG text labels positioned to the left of each bar. The bars are rendered as SVG `rect` elements with fixed dimensions and positions, while the labels are drawn using SVG `path` elements that trace letterforms. The layout is hard-coded within the HTML, using no JavaScript libraries or data-binding frameworks. Instead, the visualization relies entirely on static SVG markup, making it a simple demonstration of how CSS and pure SVG can create a bar-chart-like composition.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes