Skip to main content
100%

Fork of Ama Charts.js

✓ Published0🌍 Public
AArbie Hsu
Last edited Feb 1, 2024
Created on Feb 1, 2024
Forked from Ama Charts.js

This example shows a weekly sales bar chart rendered with Chart.js. The visualization displays seven labeled days of the week with values from 18 down to 3, each bar distinguished by a unique color from the dataset's background and border arrays. The code loads the Chart.js UMD bundle from a CDN and creates a bar chart via the `Chart` constructor on a canvas element. It also configures a legend, title, and responsive sizing, while dynamically inserting the library's version into the page header.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes