Chart.js

Small, friendly canvas charts.

💡
This course has 3 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.

Lessons

  1. Setup and configurationCreate a chart from a canvas, understand the three-part config object, and register only the pieces you actually use.
  2. Chart types and datasetsThe eight built-in types, how datasets carry their own styling, mixed charts with two scales, and how data gets parsed.
  3. Updating, styling and interactionMutate the data then call update, control every visual with dataset and option properties, and keep the chart usable on small screens.

More in Front-end Development

HTML CSS JavaScript TypeScript HTML DOM AJAX JSON Tailwind CSS Bootstrap 5 Foundation Vue.js React Next.js Angular jQuery ECharts SVG Font Awesome

Last refreshed 2026-09-17.