Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pseudo Bar chart

Public visualization

Fork of Pseudo Bar chart

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed