ice-7.2
✓ Published1🌍 Public
This example shows a pie chart of car transmission types against the number of doors, using data fetched from a CSV file hosted on GitHub. It uses Chart.js to render the pie chart on a Canvas element, with a legend positioned on the right. The code fetches the CSV data asynchronously, extracts the transmission column, and counts occurrences per type. The chart is styled with semi-transparent background colors and set to be responsive within a 400-pixel container.
AI-generated descriptionMIT Licensed