1👍
✅
The datalabels plugin of chart.js has what you are looking for from what I understand of your explanation:
Example: https://chartjs-plugin-datalabels.netlify.app/samples/charts/doughnut.html
Github: https://github.com/chartjs/chartjs-plugin-datalabels
Source:stackexchange.com