Skip to main content
100%

chart.js

✓ Published0🌍 Public
NNoWizards
Last edited Apr 9, 2020
Created on Apr 9, 2020
Forked from Using SVG and D3

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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes