If you have installed chart.js locally via NPM the minified chart JavaScript file in the library is named "chart.umd.js" and not "chart.umd.min.js".
This causes the module to fail to load the chart JavaScript.
Install the chart.js library using NPM...
composer require --prefer-dist npm-asset/chart.js:^4.4 npm-asset/chartjs-adapter-date-fns:^3.0
The charts module charts.js sub-module has more info on how to do this in its readme.
Update the "moderation_dashboard.libraries.yml" file with the correct path.
Fixed
3.0
Code