Image
✓ Published0🌍 Public
This example displays a small group of vertical bars in an SVG element, each a different color and height. The bars are rendered as SVG `<rect>` elements with explicit `x`, `y`, `width`, and `height` attributes, and the SVG `transform` attribute applies `scale(1, -1)` to flip the coordinate system so the bars to appear to grow upward from a baseline. The chart uses inline CSS to set the page title and a large message font, while the data values themselves are hardcoded in the markup.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed