Skip to main content
100%

Stacked Bar

✓ Published0🌍 Public
JJeyasuriya M
Last edited Nov 30, 2021
Created on Nov 30, 2021
Forked from HTML Starter

This stacked bar chart visualizes counts of four answer categories—Strong Correct, Strong Wrong, Weak Correct, and Weak Wrong—across five dates in November 2021. Each bar segment is color-coded and labeled using Chart.js’s datalabels plugin, with black borders delineating segments. The chart uses Chart.js’s stacked bar configuration, setting both x and y axes to stacked mode and enabling counts to accumulate per date. Data is hardcoded in a JavaScript object, and the canvas renders via the HTML5 Canvas API.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes