score:1

Accepted answer

you have a typo in your chart js script inclusion. you have done scr and not src.

<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.4/dist/chart.min.js"></script>

Related Query