<canvas id="bar-chart"></canvas>
const dataBar = { type: 'horizontalBar', data: { labels: ['Monday', 'Tuesday' , 'Wednesday' , 'Thursday' , 'Friday' , 'Saturday' , 'Sunday '], datasets: [ { data:[2112, 2343, 2545, 3423, 2365, 1985, 987], }, ], }