🌍 Public
Viewing a saved revision (read-only)
ab2400f6b3504496b4eaec9b870a4a9f
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.