Skip to main content
100%

Fork of Fork of Pseudo Bar Chart Horizontal

✓ Published0🌍 Public
Jjinjuta.s.au@gmail.com
Last edited Mar 4, 2024
Created on Mar 4, 2024

This example demonstrates a horizontal bar chart using pure SVG shapes, with four black bars of varying lengths representing categories A through D. The chart is built directly in HTML with React, using SVG `<rect>` and `<text>` elements positioned via transform matrices to create the horizontal layout. The rendering relies on inline SVG with CSS styling for typography, featuring the Poppins font at a large size for labels. The data is hardcoded within the SVG markup, showing a straightforward approach to simple categorical visualization without external charting libraries.

AI-generated description

A demonstration of SVG shapes.

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

See also React Starter.

MIT Licensed

Similar vizzes