Skip to main content
100%

Fork of Pseudo Bar chart

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

This example shows a set of five vertical bars rendered as black rectangles of varying heights on a white background, creating a pseudo bar chart. The bars are drawn directly using SVG `<rect>` elements, with hardcoded coordinates and dimensions for each bar. The code uses no JavaScript libraries or data-binding; it is purely static SVG markup embedded in an HTML page, with CSS to remove page margins and hide overflow. The rendering approach is straightforward declarative SVG, demonstrating a minimal, non-interactive visualization of categorical values.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes