Help needed for setting x and y values for "rect"

Tell us what’s happening:

This is what I have achieved so far, at this point I am totally confused, I have tried many different things to get the desired result but I am really stuck.
can you please help me to understand where I am going wrong and how to make it right.

Your code so far
Access to my codepen - https://codepen.io/Kedar_k/full/rNOmwrX

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Visualize Data with a Bar Chart

Link to the challenge: