Skip to main content
100%

JS BarChart - no d3

✓ Published0🌍 Public
PPablo Gomez-Echegaray
Last edited Jan 18, 2024
Created on Jan 18, 2024
Forked from HTML Starter

This example shows a blank HTML page with a yellow canvas that stretches to fill the browser window. The data object contains labels and values from 1 to 8, but the code never draws bars or any visualization. Using plain JavaScript and the Canvas API, it sets the canvas dimensions to match `window.innerWidth` and `window.innerHeight`, then retrieves the 2D rendering context but leaves it unused. The page demonstrates basic canvas setup without any charting library.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes