Bar chart test 10

hello so i have a problem with test 10 and i dont understand why if anyone could have a look and suggest anything

link to the code is thishttps://codepen.io/codeMour/pen/vYaZbpW?editors=0011

found the solution to the error it was at .domain i had the values reversed and also at .range