ice-7.3
✓ Published0🌍 Public
This example shows an area chart of car types plotted against their number of doors, using data fetched from a remote CSV file. The chart is rendered on a Canvas element via the Chart.js library, with the `fill: true` option creating the shaded area beneath the line. The code fetches the dataset asynchronously, parses the comma-separated rows, and populates the chart’s labels and values. It uses Chart.js’s `new Chart()` constructor with a line type, and configures axes titles for “Car Model” and “no of doors”.
AI-generated descriptionMIT Licensed