Chapter 10 — Charts with Chart.js
New concepts: Chart.js, bar chart, line chart, dynamic updates
Open the browser Console (F12 → Console) to see output from console.log().
Exercises
- Build a bar chart: revenue per region from the sales data
- Add a line chart: monthly revenue trend (group by month)
- Add a click handler on chart bars to filter the table below
- Add a 'Refresh' button that re-fetches data and updates the chart