ChartJs Data Filtering Example

❌ Without filtering

Without filtering, ChartJs shows a data point for every day, even though the data has not changed over several months

Total Data Points

✅ With filtering

With filtering in place, ChartJs only shows data points when there is a change on the y axis. This improves the performance, and produces a more readible chart

Total Data Points