1👍
✅
You are incorrectly accessing the data
property because datasets
is an array.
let unique = [...new Set(chartData.datasets[0].data)];