Fork of Fork of Pseudo Bar Chart Horizontal
✓ Published0🌍 Public
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 descriptionA demonstration of SVG shapes.
A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed