🌍 Public
Pseudo Horizontal Bar Chart
This example approximates a horizontal bar chart, using four labeled bars (A through D) with varying widths to represent categorical values. It shows categorical comparison via bar length, with labels positioned to the left of each bar. The visualization is built with plain SVG, directly creating rectangles and text elements inside a static `<svg>` container. Rectangles use explicit `x`, `y`, `width`, and `height` attributes, while the first bar is styled with a green fill and black stroke via a CSS class.
AI-generated descriptionAn approximation of a horizontal bar chart
MIT Licensed
Comments
Sign in to join the discussion.