Skip to main content
100%

Pseudo bar chart

✓ Published0🌍 Public
NNikki Masroor
Last edited May 17, 2022
Created on May 17, 2022
Forked from HTML Starter

This SVG-based pseudo bar chart approximates a standard bar chart without using any charting library, instead relying on hand-coded SVG `<rect>` elements. It displays four vertical bars of varying heights and equal widths, positioned along the x-axis with distinct y-coordinates and heights to suggest categorical data. The code uses plain SVG markup within an HTML file, with a fixed viewport of 960 by 500 pixels and no axes, labels, or gridlines, prioritizing visual similarity over statistical accuracy. The rendering approach is direct and minimal, with each rectangle explicitly defined via its `x`, `y`, `width`, and `height` attributes.

AI-generated description

An approximation of a bar chart.

MIT Licensed

Similar vizzes