🌍 Public
Viewing a saved revision (read-only)
ab6875ea817c4b7099d74a7c5e0ab63b
chart.js
A line chart displays seven monthly data points with a single dataset, rendered onto a canvas element. The example uses the Chart.js library (version 2.8.0) via its CDN, constructing a `Chart` instance with `type: 'line'`. The dataset defines a red background and border color, with `lineTension: 0.0` to create straight segments between points. The chart is embedded in a minimal HTML page, with the canvas retrieved by ID and styled via CSS to fill the viewport without margins or scrollbars.
AI-generated descriptionA bare minimum HTML page.